1. 程式人生 > >解決android使用adb工具push檔案時出現read-only

解決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即可