打开 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!
解决方法:
拔出usb数据线,重新连接手机;重新启动uiautomatorviewer即可
本文介绍了解决使用UIAutomatorViewer时遇到的错误方法。主要问题是由于远程对象不存在导致无法获取UI层级XML文件。解决步骤包括:拔掉USB数据线并重新连接设备,然后重启UIAutomatorViewer。

1万+





