现象:使用uiautomatorviewer报错Error obtaining UI hierarchy 解决方法:经验证关闭appium,再重新获取,就不会报错 (python运行了app代码,即使用了需要获取的页面信息,再使用 ...
Mac OS Android真机 . 在使用uiautomatorviewer获取界面时报Error obtaining UI hierarchy Reason: Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn t exist 如下图: 退出Appi ...
2019-09-27 13:51 0 987 推荐指数:
现象:使用uiautomatorviewer报错Error obtaining UI hierarchy 解决方法:经验证关闭appium,再重新获取,就不会报错 (python运行了app代码,即使用了需要获取的页面信息,再使用 ...
上 android8以后sdk自带的uiautomator直接打开,截取不到机器界面信息。 建议可以使用以下方法 ...
大神方案: 在C:\sdk\android-sdk-windows\tools路径下的uiautomatorviewer.bat,右键编辑打开,在最末端输入: call adb shell uiautomator dumpcall call adb pull /storage ...
1.打开任务管理器查看进程发现有3个adb.exe,结束两个剩下一下后再次打开uiautomatorviewer 正常 ...
打开uiautomatorviewer,经常会提示Error obtaining UI hierarchy,如下图 这是因为工具不太稳定导致的1.首先检查你的jdk版本是不是1.8或1.8以下,因为1.9的jdk不兼容uiautomatorviewer 2.进入任务管理器,停止 ...
参考文章 https://blog.csdn.net/qq_38776582/article/details/105364683 https://blog.csdn.net/dengachao/article/details/100535536 费了很长时间一直解决不了ui ...
android 9.0系统不能用uiautomator识别 解决方法:android 8.0 以后 uiautomator 无法直接使用的问题https://www.cnblogs.com/copyworker/p/11043705.html android8.1以后sdk tools自带 ...
安卓8.0以后uiautomatorviewer会报错,解决办法如下: 参考:《android 8.0 以后 uiautomator 无法直接使用的问题》 步骤一: 先执行命令:(注意:想要定位一个页面,每次都要执行如下命令) 本地电脑会生成一个文件:一定要每次 ...