Copy specific file to emulator in android

I want to copy a specific file to an emulator in Android . How is this possible?

Thanks.

+4
source share
3 answers

if you want to press the file into the emulator, then you can use DDMS-> select the emulator → then open the file explorer → select SDcard->, then click the button at the top right to view the file.

+8
source

You need to use adb. Here is the documentation page .

And these are specific commands (copy pasted from previous link)

To copy a file or directory (recursively) from an emulator or device, use

adb pull <remote> <local> 

To copy a file or directory (recursively) to an emulator or device, use

 adb push <local> <remote> 
+5
source

Go to the ddms perpective page, select your emulator there, if there are a lot of them, and click on the corresponding file explorer. There you can find the sdcard under mnt and click on the file symbol in the right corner. This will allow you to select a file.

+2
source

All Articles