1.打開任務管理器查看進程發現有3個adb.exe,結束兩個剩下一下后再次打開uiautomatorviewer 正常 ...
打開uiautomatorviewer,經常會提示Error obtaining UI hierarchy,如下圖 這是因為工具不太穩定導致的 .首先檢查你的jdk版本是不是 . 或 . 以下,因為 . 的jdk不兼容uiautomatorviewer .進入任務管理器,停止adb.exe,然后在CMD界面輸入adb connect xxx,再輸入adb devices后,再點擊uiautomat ...
2020-06-20 22:58 0 637 推薦指數:
1.打開任務管理器查看進程發現有3個adb.exe,結束兩個剩下一下后再次打開uiautomatorviewer 正常 ...
現象:使用uiautomatorviewer報錯Error obtaining UI hierarchy 解決方法:經驗證關閉appium,再重新獲取,就不會報錯 (python運行了app代碼,即使用了需要獲取的頁面信息,再使用 ...
https://blog.csdn.net/qq_40356449/article/details/103302820#commentsedit https://blog.csdn.net/d ...
運行sdk的 uiautomatorviewer.bat ,連接手機報錯: 網上找了各種辦法,都沒有很好的解決,可能是sdk版本問題? 最后使用了這個比較笨的方法,記錄一下: 1.替換 https://github.com/yaming116 ...
Mac OS+Android真機 8.0在使用uiautomatorviewer獲取界面時報Error obtaining UI hierarchy Reason: Error while obtaining UI hierarchy XML file ...
解決方法:關掉Appium,在cmd命令窗口中輸入 adb root(如果手機可以root的話)即可。 ...
參考文章 https://blog.csdn.net/qq_38776582/article/details/105364683 https://blog.csdn.net/dengachao/article/details/100535536 費了很長時間一直解決不了ui ...
的uiautomator直接打開,截取不到機器界面信息。 可以使用以下方法手動截取。 首先操作機器定位 ...