1.截屏
adb shell screencap -p /sdcard/01.png
adb pull /sdcard/01.png
2.双清
@echo off
choice /C cie /M “comiccat,ireader,end”
if errorlevel 3 goto end
if errorlevel 2 goto ireader
if errorlevel 1 goto comiccat
:comiccat
adb shell pm clear 包名1
adb shell rm -r /sdcard/文件夹1
goto end
:ireader
adb shell pm clear 包名2
adb shell rm -r /sdcard/文件夹2
goto end
:end
echo good bye
3.adb命令:
安装包:adb install -r XXXX
截图:adb shell screencap -p /sdcard/01.png(截屏);adb pull /sdcard/01.png(下载截图)
抓取崩溃日志:adb logcat -v time >.\\logcat.log
查看机型:adb shell getprop ro.product.model
查看包名:adb shell dumpsys window | findstr mCurre