我的Android进阶之旅------>解决如下错误failed to copy 'Settings2.apk' to '/system/app//Settings2.apk': Read-only


push apk的时候报错

ouyangpeng@oyp-ubuntu:~/apk升级$ adb push Settings2.apk /system/app/
failed to copy 'Settings2.apk' to '/system/app//Settings2.apk': Read-only file system

解决方法:adb remount 一下

ouyangpeng@oyp-ubuntu:~/apk升级$ adb root
restarting adbd as root
ouyangpeng@oyp-ubuntu:~/apk升级$ adb remount 
remount succeeded

再重新push进去

ouyangpeng@oyp-ubuntu:~/apk升级$ adb push Settings2.apk /system/app/
3654 KB/s (6481952 bytes in 1.732s)

成功


====================================================================================

  作者:欧阳鹏  欢迎转载,与人分享是进步的源泉!

  转载请保留原文地址:http://blog.csdn.net/ouyang_peng

===================================================================================


你可能感兴趣的:(我的Android进阶之旅------>解决如下错误failed to copy 'Settings2.apk' to '/system/app//Settings2.apk': Read-only)