I am working on Android. I try inside a terminal execute java -jar hierarchyviewer.java
And i have this error
11:46:48 E/adb: Failed to get the adb version: Cannot run program "adb": CreateP rocess error=2, the system cannot find the file specified
I can run the hierarchyviewer.jar from /tools/lib (double click) i can see the grafic interface but do not show anything, i can not see the tree and stuff. I am using windows 7 ,64 bit and i am executing the emulator and/or the device before run hierarchyviewer.
http://developer.android.com/guide/developing/tools/hierarchy-viewer.html