adb push时 Read-only file system的错误

adb push libxxx.so /system/lib

出现错误

failed to copy 'libxxx.so' to '/system/lib/libxxx.so': Read-only file system

 

首先adb remount

adb shell后,

将system 和lib文件夹的读写模式改掉, chmod 777 system

再试一次就可以了


原文:http://hi.baidu.com/babysnow/blog/item/ffd7530f46bf05306059f399.html

你可能感兴趣的:(shell,File,System)