Girish Girish - 5 months ago 49
Android Question

How to Push Files to an Emulator Instance using android studio

How to push the .txt file to the emulator using Android Studio.

Answer

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

adb push <file-source-local> <destination-path-remote>

You can also copy file from emulator to Desktop

adb pull <file-source-remote> <destination-path>

How ever you can also use 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.

Comments