adb命令傳輸文件,報錯remote couldn't create file: Read-only file system ,可能只是寫錯文件路徑了


 

正常:

C:\Users\Administrator>adb push E:\學習計划\1.jpg /storage/emulated/0/pictures
E:\學習計划\1.jpg: 1 file pushed, 0 skipped. 146.7 MB/s (5151229 bytes in 0.033s)


報錯:

C:\Users\Administrator>adb push E:\學習計划\1.jpg /pictures

adb: error: failed to copy 'E:\學習計划\1.jpg' to '/pictures': remote couldn't create file: Read-only file systemE:\學習計划\1.jpg: 1 file pushed, 0 skipped. 182.7 MB/s (5151229 bytes in 0.027s)

 

排錯:請到手機的文件管理中心查看文件屬性,得到文件正確的絕對地址


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM