simulate_screencap

#!/bin/bash


adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png ./
adb shell rm /sdcard/screen.png

echo "获取屏幕截图完毕"

原文地址:https://www.cnblogs.com/fish7/p/6927013.html