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

尝试用android sdk的uiautomatorviewer抓元素的时候报错:Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist! 

解决办法:把连接安卓手机的其他软件关闭(我把android studio关闭)

参考:https://www.cnblogs.com/siyz/p/8135388.html

猜你喜欢

转载自www.cnblogs.com/dannyyao/p/9134168.html