文章目录
+3. adb杀掉appium进程,处理报错
杀掉appium的进程:
adb shell pm list packages | findstr uiauto
adb uninstall io.appium.uiautomator2.server
+2. 输出app名称和活动到 cmd 窗口
adb -s 09081JEC207669 logcat | findstr Displayed
+1. 打印所有日志到桌面 logcat.log 文件
adb -s 1e350377f6cc37a2 logcat -v time > C:\Users\mc\Desktop\logcat.log
1. 查看连接的设备:
adb devices
2. 查看app的入口
adb logcat | findstr Displayed
adb -s 0