Skip to content Skip to sidebar Skip to footer

Unexpected Error While Parsing Input Invalid Uiautomator Hierarchy File

I am trying to use traceview tool to check application performane,but facing some problem and cant figure out. Initially i used this command to open traceview E:\sdk\android-

Solution 1:

I was just having the same issue while attempting to run the standalone monitor (sans Eclipse), until I found this: https://code.google.com/p/android/issues/detail?id=72420

In a nutshell:

  1. Ensure you have no other monitor.exe (if on Windows) or monitor (if OS X / Linux) process running. If you do, kill it.
  2. Run rm -rf $HOME/.android/monitor-workspace or remove the directory manually

This did the trick for me: I was able to run DDMS without the Null Pointer Exception after following these steps.

Post a Comment for "Unexpected Error While Parsing Input Invalid Uiautomator Hierarchy File"