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

简介: 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)


相关实践学习
使用CLup和iSCSI共享盘快速体验PolarDB for PostgtreSQL
在Clup云管控平台中快速体验创建与管理在iSCSI共享盘上的PolarDB for PostgtreSQL。
AnalyticDB PostgreSQL 企业智能数据中台:一站式管理数据服务资产
企业在数据仓库之上可构建丰富的数据服务用以支持数据应用及业务场景;ADB PG推出全新企业智能数据平台,用以帮助用户一站式的管理企业数据服务资产,包括创建, 管理,探索, 监控等; 助力企业在现有平台之上快速构建起数据服务资产体系
目录
相关文章
|
4天前
|
Android开发 开发者
安卓投屏神器 Scrcpy安 报错ERROR: Could not find any ADB device
安卓投屏神器 Scrcpy安 报错ERROR: Could not find any ADB device
269 9
|
4天前
|
Android开发 开发者
安卓投屏神器 Scrcpy安 报错ERROR: Could not find any ADB device
使用Scrcpy安卓投屏工具时遇到报错,问题根源是未开启开发者模式。解决步骤:进入设置,点击【关于手机】→连续点击版本号激活开发者模式,然后在【系统设置】→【开发者选项】中开启USB调试。参照此方法后可正常执行。Scrcpy软件下载链接和GitHub页面也已提供。
45 1
|
11月前
解决 Adb debug error
解决 Adb debug error
119 0
|
监控 Shell 开发工具
The connection to adb is down, and a severe error has occured.
The connection to adb is down, and a severe error has occured.
99 1
|
网络协议 网络安全 Android开发
ADB Server failed to start daemon * error: cannot connect to daemon
问题描述:Invalid argument: cannot open transport registration socketpair could not read ok from ADB Server failed to start daemon * error: cannot connect to daemon
569 0
adb - Performing Push Install adb: error: failed to get feature set: more than one 解决方案
adb - Performing Push Install adb: error: failed to get feature set: more than one 解决方案
931 0
adb - Performing Push Install adb: error: failed to get feature set: more than one 解决方案
|
开发工具 Android开发
Appium问题解决方案(7)- Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME environment variable with the Android SDK root directory path
Appium问题解决方案(7)- Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME environment variable with the Android SDK root directory path
446 0
Appium问题解决方案(7)- Could not find 'adb.exe' in PATH. Please set the ANDROID_HOME environment variable with the Android SDK root directory path
|
Android开发
adb error cannot bind to 127.0.0.1:5038:
出现这种情况多半是端口被其他程序占用了,一般是自己电脑的手机助手程序 我们可以打开cmd输入以下命令查看是谁占用了端口 netstat -nao|findstr 5038 32272为pid,我们可以在任务管理器找到这个程序然后kill,...
1185 0
|
4天前
|
Shell Android开发
Android系统 adb shell push/pull 禁止特定文件
Android系统 adb shell push/pull 禁止特定文件
34 1
|
4天前
|
Android开发 Python
Python封装ADB获取Android设备wifi地址的方法
Python封装ADB获取Android设备wifi地址的方法
64 0

热门文章

最新文章