does anybody know a way to change sd cards in avd dynamically?
emulator -avd avd_8 -sdcard /TMP/sdcard1.img
the command line starts a new instance of the avd. I need to do the stuff on the running avd
Regards,
Galym
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t believe you can do this.
The SDCard mounts on boot. Physical devices have hardware sensors to detect insertion/removal of an SD card, which the AVD presumably cannot handle.
I haven’t tried this, but you might be able to first unmount the SD card in the Android main menu on the emulator, and then use the avd command to remount a different one.