原文:【APPIUM】:UIautomatorviewer連接機器點擊報錯Unexpected error while obtaining UI hierarchy

一 連接到真機,提示如下錯誤: 二 .在D盤根目錄下創建app.png文本文件 .在D盤根目錄下創建app.uix文本文件 .執行以下adb命名: afc e 是我本機的設備名,如果鏈接有多個機器,通過adb devices查看 adb s afc e shell uiautomator dump sdcard app.uix adb s afc e pull sdcard app.uix D: ...

2019-07-04 11:32 0 1069 推薦指數:

查看詳情

使用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