• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Emulator: Writing to SD card permissions error

edojones

Newbie
Jun 17, 2010
11
0
I am developing using Eclipse and the emulator and things are working nicely. However I now want to read a file from the emulators SD card and this is where I am having trouble.

On my phone I can read and write from the SD card no problem but when using the emulator all I get is a read/write permission error. I have tried ADB PUSH command but get this permission error. I have also tried ADB REMOUNT which says success, and also SU from within ADB SHELL but I still can not write the file. The file is tiny, only around 900kb and is plain text and my application can read it fine when running from my phone.

So, how do I make the SD card on the emulator read/write?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones