使用uiautomatorviewer报错:com.android.ddmlib.SyncException: Remote object doesn’t exist!
Error obtaining Ul hierarchy
Reason:
Error while obtaining Ul hierarchy XML file:
com.android.ddmlib.SyncException: Remote object doesn’t exist!
原因:使用了uiautomator2 的weditor 定位功能和这个有冲突,解决方法卸载使用weditor时的安装的ATX app
或者和其他服务起了冲突:重启手机