作者:Irain
QQ:2573396010
微信:18802080892
官网链接:https://adbshell.com/
目录
1 设备界面截图
详细链接:https://adbshell.com/commands/adb-shell-screencap
在设备创建测试文件夹
adb shell mkdir /storage/emulated/0/1
进行APP测试时,可以结合pull命令一起使用。
adb shell screencap /storage/emulated/0/1/test.png
从设备把刚刚截图照片拷贝到当前目录
adb pull /storage/emulated/0/1/test.png test.png