Run Hierarchy Viewer on W7(doesn't work)
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": C开发者_StackOverflow中文版reateP 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 graphic interface but it does not show anything, I cannot see the tree and stuff. I am using Windows 7, 64 bit and I am executing the emulator and/or the device before running hierarchyviewer.
http://developer.android.com/guide/developing/tools/hierarchy-viewer.html
Try to add path of android SDK to PATH environment variable.
精彩评论