Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn‘t

在使用安卓模拟器定位页面元素时启动uiautomatorviewer.bat ,但是报错: 

Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist! Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!

解决方法;关闭appium ..并且杀掉任务管理器中的adb.exe进程!

猜你喜欢

转载自blog.csdn.net/AntdonYu/article/details/108671910