Missing hierarchyviewer in SDK 7

26 Oct 2010 | Comments

If you have SDK version 7, you are most probably missing the hierarchyviewer from your /tools folder. To check your SDK version, launch the SDK manager UI from your installation path, usually C:\android-sdk-windows, then click About.
To run hierarchyviewer, you need to manually create the hierarchyviewer.bat file and add it to your <install_path>/tools directory. The text of the batch file can be copied from here.

And so, you can now run hierarchyviewer as you would if the SDK release isn't effed up. Don't know how to run it? Follow these steps:
a. In Windows, open up a terminal by running cmd.
b. Navigate to your SDK's install path. Since I installed mine in C:\, I would have to type in cd C:\android-sdk-windows\tools
c. Type in hierarchyviewer at the prompt.