截图:
- 保存到手机并复制到PC
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png
- 直接保存到PC(会覆盖之前的图片)
adb exec-out screencap -p > screen.png
- 直接保存到PC,动态生成文件名
adb exec-out screencap -p > "%date:~0,4%-%date:~5,2%-%date:~8,2% %time:~0,2%-%time:~3,2%-%time:~6,2%.png"