#!/bin/bashadb shell screencap -p /sdcard/screen.pngadb pull /sdcard/screen.png ./adb shell rm /sdcard/screen.pngecho "获取屏幕截图完毕"