adb工作常用命令

adb devices 查看手机名

 

 adb shell链接手机

 

dumpsys window windows |grep -i current 打开软件,查看软件入口,和包名,白色为包名,红框为包入口

 

 

 

不用进入手机直连

adb shell dumpsys window | findstr mCurrentFocus

 

 

 

adb logcat  查看手机日志

adb install 用于安装

adb uninstall 用于卸载

adb uninstall 后面带的是应用的包名,而不是应用名。

 

posted on 2020-04-12 12:37  测试好家伙  阅读(201)  评论(0)    收藏  举报

导航