啟動(dòng)app
adb shell am start -n package/activity啟動(dòng)頁(yè)名字 -S
獲取app的入口,包名以及啟動(dòng)頁(yè)名
adb shell "logcat | grep START"
關(guān)閉adb進(jìn)程
adb kill-server
收集錯(cuò)誤日志
adb bugreport , 打印dumpsys、dumpstate、logcat的輸出,也是用于分析錯(cuò)誤
清理app數(shù)據(jù)
adb shell pm clear package
點(diǎn)擊屏幕
adb shell input tap 72 41 # tap 后面跟x,y軸的坐標(biāo)

image.png