原文:Ui Automator Viewer 使用報錯問題 提示’Error obtaining UI hierarchy‘

大神方案: 在C: sdk android sdk windows tools路徑下的uiautomatorviewer.bat,右鍵編輯打開,在最末端輸入: call adb shell uiautomator dumpcall call adb pull storage sdcard window dump.xml . call window dump.xml通用方案:桌面新建 test.ba ...

2020-08-03 14:58 0 676 推薦指數:

查看詳情

使用uiautomatorviewer報錯Error obtaining UI hierarchy

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

Fri Sep 18 22:45:00 CST 2020 0 488
uiautomatorviewer 定位提示Error obtaining UI hierarchy

打開uiautomatorviewer,經常會提示Error obtaining UI hierarchy,如下圖 這是因為工具不太穩定導致的1.首先檢查你的jdk版本是不是1.8或1.8以下,因為1.9的jdk不兼容uiautomatorviewer 2.進入任務管理器,停止 ...

Sun Jun 21 06:58:00 CST 2020 0 637
UI Automator Viewer工具的使用

一、uiautomatorviewer介紹 uiautomatorviewer是android SDK自帶的一個元素定位工具。通過截屏並分析XML布局文件的方式,為用戶提供控件信息查看服務。 使用uiautomatorviewer,你可以檢查一個應用的UI來查看應用的布局和組件以及相關的屬性 ...

Mon Sep 03 19:27:00 CST 2018 0 13511
appium===使用weditor代替ui automator viewer

weditor 一個元素定位工具,並可實現通過wifi連接移動端進行定位。 https://github.com/openatx/uiautomator2 python安裝方式:pip i ...

Thu Mar 15 17:04:00 CST 2018 0 1987
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM