adb截的图无法打开

用adb截图,并将图片pull到电脑,但我发现虽然没提示,但好像截图失败了

######下面是代码:

adb shell screencap /sdcard/screen.png
adb pull /sdcard/screen.png
我尝试过重启电脑和手机,但都没有效果

img

授予 adb shell 写入存储卡的权限: adb shell pm grant com.android.shell android.permission.WRITE_EXTERNAL_STORAGE

换个开放的路径

adb pull /sdcard/Pictures/screen.png
不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^