Trouble with virtual SDCard
<p>I'm trying to download a database from a link, but when I create a <code>FileOutputstream</code> object, it promts an <code>FileNotFoundException</code>, telling me that the acces is denied. I investigated a little and found it could be the sdcard, when I used  <code>Environment.getExternalStorageState()</code>   to see what was happening, it tells me the sd card is removed. I checked and saw that the sd is correctly inserted into the virtual device, so how could I fix this problem?</p>

<p>Thanks in advance!</p>

<p><strong>EDIT:</strong>
I already have the permission on the manifest to wite on external device.</p>
