版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/sinat_28864443/article/details/83865944
//录制视频
adb shell screenrecord /sdcard/demo.mp4
//截图
adb shell screencap -p /sdcard/01.png
//强制安装apk
adb install -r app
//将文件传到手机
adb push C:\Users\Administrator.123-PC\Desktop\11.png /sdcard/
//将手机里的文件传到电脑
adb pull /sdcard/11.png C:\Users\Administrator.123-PC\Desktop\
//进入手机
adb shell
//查看手机信息
adb shell cat /system/build.prop | grep product
//查看手机分辨率
//只有分辨率的:
adb shell wm size
//相信信息的:
adb shell dumpsys window displays