首先要下载ADB.
.
.
.
大佬讲的很详细
.
.
.
.
下面是一些简单的命令。
查看已连接的设备
adb devices
截屏
adb shell screencat /sdcard/xxx.png
录屏(Ctrl+C结束)
adb shell screenrecord /sdcard/xxx.mp4
发送文件到设备
adb push C:\file.txt /sdcard/
提取设备文件
adb pull /sdcard/file.txt C:\