Failed to push selection: Read-only file system : while moving to SdCard

拜拜、爱过 提交于 2019-12-06 03:02:02

Go to sdk/platform-tools directory (to get access to the adb shell) then I typed the following commands:

./adb shell 
su 
mount -o rw,remount rootfs / 
chmod 777 /mnt/sdcard

Then it works fine for me.

joy_pr

Add these permissions in Android manifest file for accessing Sd Card.

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