Android emulator sdcard permissions

懵懂的女人 提交于 2019-12-04 13:49:11
hechen0

Open the AVD manager, select the appropriate emulator, and choose Edit from right panel.

Then on the hardware option, you will see many properties, now, click the New button, and choose SD card support, click Ok.

Now you can use your SD-Card within the emulator.

In Android 6, and Emulator, We need to grand permission manual by Setting > Apps Chose App that you want to grant permission then grant permission like this:

Share for someone face this issue (I use android studio)

I'm getting this problem A LOT with the Gingerbread emulator... for some reason the emulator simply doesn't permit access eventhough the manifest permission is in place.

Solution:

access android shell (i.e. adb shell) and type in:

mount -o remount,rw /sdcard

Just a guess-- but perhaps you've configured the emulator with 0 external storage?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!