Thursday, 13 October 2016

How to push files to an emulator instance using Android Studio



How am I able to push .txt files to the emulator using Android Studio?


Answer



You can use the ADB via a terminal to pass the file From Desktop to Emulator.



adb push  



You can also copy file from emulator to Desktop



adb pull  


How ever you can also use the Android Device Monitor to access files. Click on the Android Icon which can be found in the toolbar itself. It'll take few seconds to load. Once it's loaded, you can see a tab named "File Explorer". Now you could pull/push files from there.


No comments:

Post a Comment

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...