Android SDK hierarchyviewer command not found (Android Studio, Mac OS)

I am trying to start the hierarchy viewer from my directory ~/Library/Android/sdk/tools

and it says

bash: hierarchyviewer: command not found. 

      

Although I can see that the tool hierarchyviewer

is in the directory by typing ls

.

If I type which hierarchyviewer

, nothing happens. I've tried other questions from StackOverflow and nothing worked. Any idea?

+3


source to share


1 answer


I am assuming this is ~/Library/Android/sdk/tools

not part of your variable PATH

. Then you need to run it via ./hierarchyviewer

from the directory ~/Library/Android/sdk/tools

(or via ~/Library/Android/sdk/tools/hierarchyviewer

from anywhere).



+3


source







All Articles