android 模拟器 sdcard权限修改

http://blog.csdn.net/zj510/article/details/8645777

mksdcard 1024M c:sdcard.img (路径随意,大小随意)

执行:adb push D:aa.jpg sdcard/aa.jpg 报错,说是只读

执行adb shell下,尝试修改属性,失败……

Unable to chmod /sdcard: Read-only file system

google搜索后,有说用 adb remount 可以解决,尝试后依旧不行。。

调出eclipse自带调试工具(other里)DDMS,File Explore,尝试把文件直接拖进去(复制),依旧失败。。。

解决办法 adb shell下

“mount -o remount rw /”

之后便可以通过

“chmod 075 sdcard ”

原文地址:https://www.cnblogs.com/liulipeng/p/3673074.html