打开uiautomatorviewer,经常会提示Error obtaining UI hierarchy,如下图 这是因为工具不太稳定导致的1.首先检查你的jdk版本是不是1.8或1.8以下,因为1.9的jdk不兼容uiautomatorviewer 2.进入任务管理器,停止 ...
.打开任务管理器查看进程发现有 个adb.exe,结束两个剩下一下后再次打开uiautomatorviewer 正常 ...
2019-12-23 17:59 0 1141 推荐指数:
打开uiautomatorviewer,经常会提示Error obtaining UI hierarchy,如下图 这是因为工具不太稳定导致的1.首先检查你的jdk版本是不是1.8或1.8以下,因为1.9的jdk不兼容uiautomatorviewer 2.进入任务管理器,停止 ...
现象:使用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直接打开,截取不到机器界面信息。 可以使用以下方法手动截取。 首先操作机器定位 ...