I have created an Android virtual device with sd-card.
Now I want to create another Android virtual device with sd-card with same data.
Where can I find the sd-card image file?
By the way, I'm using Eclipse Juno on Windows 8.
I have created an Android virtual device with sd-card.
Now I want to create another Android virtual device with sd-card with same data.
Where can I find the sd-card image file?
By the way, I'm using Eclipse Juno on Windows 8.
Here is what I would do:
Your SD card image is stored in the following location:
~/.android/avd/<avd name>.avd/sdcard.img
So, if your AVD is named SCREEN_LARGE, then your image file would be at:
~/.android/avd/SCREEN_LARGE.avd/sdcard.img
I am using a Mac but I'm sure the location for the .android folder should be inside of your 'User' folder as well.
You can then duplicate this file and then use it with another AVD.
copy all of your files/folders that you want off of the old image from ADB:
adb pull <dir or file>
Then, using ADB create a brand new Image:
mksdcard <size> <file>
mksdcard can be found in the tools/ directory of your sdk folder.
Then load the AVD with the new image:
emulator -sdcard <filepath>
Once the AVD has loaded your new image, you can then push your files:
adb push <dir or file>
info taken from Google page:
I hope this helped!