1、截图保存到sdcard
adb shell /system/bin/screencap -p /sdcard/screenshot.png
2、pull拉取到本地
adb pull /sdcard/screenshot.png
wx58638f54eeaef 博主文章分类:Andriod 积累 ©著作权
adb shell /system/bin/screencap -p /sdcard/screenshot.png
adb pull /sdcard/screenshot.png
Android下面使用命令行截图。因为工作调试用的机器,没法连接USB,所以用不了一般的截图方法,后来查了一下,Android4.0以后都内置了截图命令。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M