在使用安卓模拟器定位页面元素时启动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进程!