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直接打开,截取不到机器界面信息。 可以使用以下方法手动截取。 首先操作机器定位 ...