I am using default android emulator and trying to fetch field ids using UI Automator. However it stops saying following line when I try to capture screen:
Error while obtaining UI hierarchy XML file: com.android.ddmlib.TimeoutException
I have followed this link also
but no success.
I am testing android app using Appium and need ids for writing test cases.