创建一个.bat文件
adb shell "rm /sdcard/screenshot.png"
adb shell "/system/bin/screencap -p /sdcard/screenshot.png"
adb pull /sdcard/screenshot.png %date:~0,4%%date:~5,2%%date:~8,2%_%time:~0,2%%time:~3,2%%time:~6,2%.png
创建一个文件夹把.bat文件放入,点击执行.bat文件本地会生成png照片