Android emulator sdcard suddenly read-only(failing to mount?)
<p>I've been using the android emulator with a mounted sdcard for a couple weeks now with no problem. Today I start my app and it crashes with a NullPointerException when my activity tries to access /mnt/sdcard. I check the DDMS file explorer and /mnt/sdcard seems to be empty. I try to push a file onto it but it's read-only, permissions are d---------. There are these two lines at the beginning of the logcat output:</p>

<pre><code>D/Vold    (   29): Volume sdcard state changing -1 (Initializing) -&gt; 0 (No-Media)
D/Vold    (   29): Volume sdcard state changing 0 (No-Media) -&gt; 1 (Idle-Unmounted)
</code></pre>

<p>So I take it to mean that sdcard.img is suddenly failing to mount for some reason. Any ideas why this would be?</p>
