原文:uiautomatorviewer 定位提示Error obtaining UI hierarchy

打開uiautomatorviewer,經常會提示Error obtaining UI hierarchy,如下圖 這是因為工具不太穩定導致的 .首先檢查你的jdk版本是不是 . 或 . 以下,因為 . 的jdk不兼容uiautomatorviewer .進入任務管理器,停止adb.exe,然后在CMD界面輸入adb connect xxx,再輸入adb devices后,再點擊uiautomat ...

2020-06-20 22:58 0 637 推薦指數:

查看詳情

使用uiautomatorviewer報錯Error obtaining UI hierarchy

現象:使用uiautomatorviewer報錯Error obtaining UI hierarchy 解決方法:經驗證關閉appium,再重新獲取,就不會報錯 (python運行了app代碼,即使用了需要獲取的頁面信息,再使用 ...

Fri Sep 18 22:45:00 CST 2020 0 488
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM