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