2

I can't mount my sd card on the emulator and it gives me only a read option for the sd card as shown below :

enter image description here

How do i get the write permission on the virtual sd card so that i am able to push some media onto the sd card to test my applications ?

Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328

4 Answers4

2

Open the shell. Open your prompt, type:

adb shell

Then, remount your sdcard with rw permissions.

mount -o remount rw /sdcard

EDIT

sdcard without permissions:

enter image description here

Opening the shell:

enter image description here

change of permissions:

enter image description here

Kazekage Gaara
  • 14,972
  • 14
  • 61
  • 108
1

Make sure that you can created the SDCard for the Emulator by giving its size under

SD Card - Tab and also you have added SD Card Support to your device under Hardware - Tab

enter image description here

Lalit Poptani
  • 67,150
  • 23
  • 161
  • 242
0

use your AVD manager and specify that the AVD target has an sd card on the virtualization. Also Google limits the emulated card to 50Mb, at least they used to. So just open eclipse, bring up your AVD manager from the menu bar and edit the target AVD emulation to have a card installed, then input write permission in your android manifest file for permission, should work fine from there.

mr.j05hua
  • 170
  • 4
  • 14
0

less then 1024 MB size of sdcard in avd ->to edit then save then run

sangat
  • 11
  • 2