error while obtaining ui hierarchy xml file...用 uiautomatorviewer 获取安卓手机软件页面时报错

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

用 uiautomatorviewer 获取安卓手机软件页面时报错:

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!

error while obtaining ui hierarchy xml file...用 uiautomatorviewer 获取安卓手机软件页面时报错

解决方法:

拔出usb数据线,重新连接手机;重新启动即可

上一篇:微信开发者工具获取位置错误(定位到北京)---调用wx.getLocation不出现获取定位提示


下一篇:如何迭代输出某文件夹下的所有文件的路径?(os.walk用法)