解决android使用adb工具push文件时出现read-only

已开通新的博客,后续文字都会发到新博客

http://www.0xfree.top

---

经常在使用调试手机或者往手机里传输文件是,会用到adb工具

adb push hostfile targetfile

但是有时会遇到这样的问题:failed to copy hostfile to targetfile :Read-only file system

具体解决办法如下:

adb shell mount -o remount rw /system

然后重新执行adb push即可

猜你喜欢

转载自blog.csdn.net/beijing2008lm/article/details/11372905