UIautomatorviewer 启动后定位元素报错:Error while obtaining UI hierarchy XML file:com.android.ddmlib.SyncException.

解决方法:关掉Appium,在cmd命令窗口中输入 adb root(如果手机可以root的话)即可。

posted @ 2018-09-12 12:30  不知道的名字  阅读(6449)  评论(1)    收藏  举报