title: Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist! ",displaying for app with dynamic locators
body: <p>I have the app with dynamic elements and unable to get screenshot for my app error is showing </p>
  
  <blockquote>
    <p>Error while obtaining UI hierarchy XML file:
    com.android.ddmlib.SyncException: Remote object doesn't exist!</p>
  </blockquote>
  
  <p>for other apps UI Automator viewer is working fine. </p>
  
  <p>Please suggest any other tool to get apps locator or any other way? I have stopped Appium and did all the solutions but same issue. <strong>UI Automator</strong> is working fine for other apps.</p>
  
  <p>Thanks</p>