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

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

猜你喜欢

转载自www.cnblogs.com/rabbit-testing/p/9634150.html