原文:【APPIUM】:UIautomatorviewer连接机器点击报错Unexpected error while obtaining UI hierarchy

一 连接到真机,提示如下错误: 二 .在D盘根目录下创建app.png文本文件 .在D盘根目录下创建app.uix文本文件 .执行以下adb命名: afc e 是我本机的设备名,如果链接有多个机器,通过adb devices查看 adb s afc e shell uiautomator dump sdcard app.uix adb s afc e pull sdcard app.uix D: ...

2019-07-04 11:32 0 1069 推荐指数:

查看详情

使用uiautomatorviewer报错Error obtaining UI hierarchy

现象:使用uiautomatorviewer报错Error obtaining UI hierarchy 解决方法:经验证关闭appium,再重新获取,就不会报错 (python运行了app代码,即使用了需要获取的页面信息,再使用 ...

Fri Sep 18 22:45:00 CST 2020 0 488
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM