重启设备
adb reboot
关机
adb reboot -p
获取设备当前应用显示的Activity
adb shell dumpsys activity | findstr "ResumedActivity"
启动app
adb shell am start -n com.xxx.xxx/com.xxx.xxx.xxxActivity
从设备复制文件本地
adb pull /mnt/sdcard/Download/test.apk xxx/test
从本地复制文件到设备
adb push xx/file/test.apk /system/priv-app
截屏
adb shell screencap /mnt/sdcard/Download/test.png
录屏
adb shell screenrecord --size 1280x720 /mnt/sdcard/Download/test.mp4