Reputation: 23246
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 :
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
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:
Opening the shell:
change of permissions:
Upvotes: 2
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
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
Upvotes: 1