Error while obtaining UI hierarchy XML file: com.andriod.ddmlib.SynException:Remote object doesnt exist解决办法

在做APP自动化时获取界面元素,报如下错误:

obtaining UI hierarchy

Error while obtaining UI hierarchy XML file:
com.andriod.ddmlib.SynException:Remote object doesnt exist

 

解决办法:关闭appium,获取重启即可

posted @ 2020-05-20 01:20  寒冰宇若  阅读(614)  评论(0编辑  收藏  举报