原文: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