使用uiautomatorviewer报错Error obtaining UI hierarchy

现象:使用uiautomatorviewer报错Error obtaining UI hierarchy

 

 

 

解决方法:经验证关闭appium,再重新获取,就不会报错

   

 

 

(python运行了app代码,即使用了需要获取的页面信息,再使用automatorviewer时就会报错,我的解决方法就是关闭,暂不起动appium)

 

posted @ 2020-09-18 14:45  liujuan2728  阅读(995)  评论(0)    收藏  举报