How to add android tools dir to windows 7 path?

北城以北 提交于 2019-12-17 16:35:38

问题


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


回答1:


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.



回答2:


In your computer properties-advance-environment variables-system variable ,and you find variable "path", add your android/tools path in it.

The operate like add java.exe in you computer path




回答3:


C:\Users\user\AppData\Local\Android\Sdk\tools\bin

and add it you your Path User variable



来源:https://stackoverflow.com/questions/13285670/how-to-add-android-tools-dir-to-windows-7-path

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!