adb命令总结

来源:互联网 发布:c语言解惑 编辑:程序博客网 时间:2024/05/20 05:05

1.截图并发送到电脑:

adb shell /system/bin/screencap -p /sdcard/screenshot.png(保存到SDCard)
adb pull /sdcard/screenshot.png d:/screenshot.png(保存到电脑)

2.启动和停止app

启动app:adb shell am start -n 包名 /. 类名

停止app:adb shell am force-stop 包名

3.录屏
adb shell screenrecord /sdcard/test1.mp4

转换为gif:
Video转换为mp4

持续更新中……

原创粉丝点击