Suhail Gupta
Suhail Gupta

Reputation: 23246

getting the write permission for sd card

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 ?

Upvotes: 2

Views: 11243

Answers (4)

sangat
sangat

Reputation: 11

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

Upvotes: 0

Kazekage Gaara
Kazekage Gaara

Reputation: 15052

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

Upvotes: 2

mr.j05hua
mr.j05hua

Reputation: 170

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.

Upvotes: 0

Lalit Poptani
Lalit Poptani

Reputation: 67286

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

Upvotes: 1

Related Questions