开发者

Run Hierarchy Viewer on W7(doesn't work)

开发者 https://www.devze.com 2023-01-18 22:55 出处:网络
I am working on Android. I try inside a terminal execute java -jar hierarchyviewer.java And I have this error

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消