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

我的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进阶之旅------>解决Bug:打开eclipse报错,发现了以元素 'd:skin' 开头的无效内容。此处不应含有子元素。


下一篇:巧用Zabbix自定义监控Mysql性能状态