Error obtaining UI hierarchy Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncExc

How to resolve

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


Solution 1:

The best way is to kill the adb server and start it again.

  • sudo adb kill-server

  • sudo adb start-server

Solution 2:

Try Restarting your device, which worked in some cases.


Solution 3:

run below command:

adb shell am force-stop com.android.ddmlib


If you find some other solution, please do the comment or contact us to revise this post.


it will help other readers to resolve the issues





5 views1 comment

Recent Posts

See All
 

©2020 by QA Job Support. Contact: Call or Whatsapp

+91 8218797122