How To Format/wipe Emulator's Sdcard(/mnt/sdcard)
I just want to know how to wipe the virtual sdcard in the android emulator.
Solution 1:
With the expected caveats and warnings about using commands in the "rm -r *" family, you can also use: adb -e shell rm -r /mnt/sdcard/*
Solution 2:
You can do it easily from Android Settings app: "Storage"->"Erase SD card".
Solution 3:
Solution 4:
You could try deleting this file: sdcard.img in the emulator directory. That's where it stores the info.
Just rename at first it in case it crashes things. I haven't tested this before.
Solution 5:
When you launch the emulator there's a checkbox to wipe user data.
Post a Comment for "How To Format/wipe Emulator's Sdcard(/mnt/sdcard)"