Reputation: 405
I try to launch hierarchy viewer from my ~/Library/Android/sdk/tools
directory, and it says
bash: hierarchyviewer: command not found.
Although I can see the hierarchyviewer
tool is in the directory by typing ls
.
If I type which hierarchyviewer
, nothing happens. I tried other questions from StackOverflow and nothing worked. Any idea?
Upvotes: 4
Views: 923
Reputation: 2319
I assume that ~/Library/Android/sdk/tools
is not in your PATH
variable. Then you'll have to start it via ./hierarchyviewer
from the ~/Library/Android/sdk/tools
directory (or via ~/Library/Android/sdk/tools/hierarchyviewer
from anywhere).
Upvotes: 3