通过 ADB 捕获屏幕截图并直接保存在你的 PC 中

如果你使用 Linux(或带有 Cygwin 的 Windows),则可以运行:

adb shell screencap -p | sed 's/\r$//' > screenshot.png