Android emulator sdcard suddenly read-only(failing to mount?) -
i've been using android emulator mounted sdcard couple weeks no problem. today start app , crashes nullpointerexception when activity tries access /mnt/sdcard. check ddms file explorer , /mnt/sdcard seems empty. try push file onto it's read-only, permissions d---------. there these 2 lines @ beginning of logcat output:
d/vold ( 29): volume sdcard state changing -1 (initializing) -> 0 (no-media) d/vold ( 29): volume sdcard state changing 0 (no-media) -> 1 (idle-unmounted)
so take mean sdcard.img failing mount reason. ideas why be?
open shell emulator
adb shell
then type following command:
mount -o remount,rw /sdcard
does work now?
Comments
Post a Comment