Manually put files to Android emulator SD card


Question

I'm just having trouble with getting my emulator SD card work... I created a new AVD device with a new SD card.

So how to put data onto it? I found the "correct" file to be mounted on Daemon tools, but is corrupt or simply not readable...

It would be great if you have any idea :)

1
135
12/10/2014 6:37:18 PM

Accepted Answer

If you are using Eclipse you can move files to and from the SD Card through the Android Perspective (it is called DDMS in Eclipse). Just select the Emulator in the left part of the screen and then choose the File Explorer tab. Above the list with your files should be two symbols, one with an arrow pointing at a phone, clicking this will allow you to choose a file to move to phone memory.

131
5/11/2010 8:02:03 AM

Use the adb tool that comes with the SDK.

adb push myDirectory /sdcard/targetDir

If you only specify /sdcard/ (with the trailing slash) as destination, then the CONTENTS of myDirectory will end up in the root of /sdcard.


Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon