0

I want to write to a file on the sd card, I added the permission <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>, however when I try it, I dont get any errors in the virtual device, but in LogCat I get the following

12-05 13:09:08.743: E/XMLWriter(367): Permission denied
12-05 13:09:08.753: E/XMLWriter(367): /mnt/sdcard/alzheimer/appointments.xml (Permission denied)

Even though it was working before, now I can't get it to work.

What could I be missing?

hakuna matata
  • 3,243
  • 13
  • 56
  • 93

1 Answers1

0

It turns out, I did not specify the amount of space for my virtual device's sd card. I just added some space and it worked.

hakuna matata
  • 3,243
  • 13
  • 56
  • 93