How to add android tools dir to windows 7 path?

alex picture alex · Nov 8, 2012 · Viewed 37.9k times · Source

I like to quickly start hierarchyviewer. At the moment i use the prompt to go navigate to .... \AppData\local\android\android-sdk\tools\ and then hierarchyviewer

I think i need to add something to windows 7 path, but i don't know what to do exactly.

Any suggestions?

regards

Answer

Anup Cowkur picture Anup Cowkur · Nov 8, 2012

Suppose you have download and install Android SDK, and extract it in some drive. There are two methods to set PATH:

Use command prompt :

set path=%path%;D:\android-sdk-windows\tools;

Another is follow these steps :

My Computer->Property->Advanced->Environment Variables->Edit Path Variable and add “D:\ android-sdk-windows\tools” into the Path Variables.