liulipeng

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 ”

分类:

技术点:

相关文章:

  • 2022-01-17
  • 2021-11-18
  • 2021-12-22
  • 2021-08-16
  • 2022-12-23
  • 2021-10-28
  • 2021-07-22
猜你喜欢
  • 2021-12-06
  • 2022-12-23
  • 2021-11-19
  • 2021-11-17
  • 2022-02-25
  • 2022-02-07
  • 2022-01-11
相关资源
相似解决方案