adb: error: cannot create file/directory ‘d:/1.png‘: No such file or directory

将文件从设备读取到PC 由于权限问题,不能直接pull到电脑磁盘根目录,否则会报错:

adb pull <remote> <local>

eg:

C:\Users\admin>adb pull /sdcard/server.log C:\Users\admin\Desktop

/sdcard/server.log: 1 file pulled. 0.1 MB/s (196 bytes in 0.003s)

查看文件

注意:由于权限问题,不能直接pull到电脑磁盘根目录,否则会报错:

C:\Users\Shuqing>adb pull /sdcard/server.log D:\\

adb: error: cannot create file/directory 'D:\\': No such file or directory

屏幕截图

C:\Users\admin>adb shell screencap /sdcard/kao.png

C:\Users\admin>adb pull /sdcard/kao.png C:\Users\admin\Desktop

/sdcard/kao.png: 1 file pulled. 4.0 MB/s (58467 bytes in 0.014s)

adb命令---02_adb: error: cannot create file/directory-CSDN博客

相关推荐
xiucai_cs1 小时前
MySQL深分页慢问题及性能优化
数据库·mysql·性能优化·深分页
当牛作馬1 小时前
ES常用查询命令
数据库·mysql·elasticsearch
chenglin0163 小时前
ES_索引的操作
大数据·数据库·elasticsearch
共享家95274 小时前
MYSQL库及表的操作
数据库
想回家的一天6 小时前
Go1.25的源码分析-src/runtime/runtime1.go(GMP)
数据库·redis·缓存
阿里云大数据AI技术7 小时前
鹰角网络基于阿里云EMR Serverless StarRocks的实时分析工程实践
数据库·数据分析
久笙&7 小时前
对象存储解决方案:MinIO 的架构与代码实战
数据库·python·架构
码luffyliu8 小时前
MySQL:MVCC机制及其在Java秋招中的高频考点
java·数据库·mysql·事务·并发·mvcc
水涵幽树8 小时前
MySQL 时间筛选避坑指南:为什么格式化字符串比较会出错?
数据库·后端·sql·mysql·database