Categories: Android Beginner Learning notes 2011-07-10 09:47 99479 people read reviews (0) favorite reports Androidtoolspathcmd
Read a lot of information on the Internet but for the environment variable settings introduced insufficiently detailed, may be for the prawn is disdain to see, but for just the beginner is relatively advanced, hehe.
Because my computer is Win7, only Win7 introduction.
First you have successfully installed the Android SDK.
The first step is to find the environment Variables window according to the diagram
The second step is to see the window as shown
Then click the New button at the user variable, you can set two ways with absolute path and relative path
First introduce relative path setting, no nonsense, variable name: android_sdk_home, variable value is the path of android-sdk-windows
Let's create a new path variable and enter it in the variable Value box.; %android_sdk_home%\platform-tools;%android_sdk_home%\tools; The most important thing to note is the first one. Be sure to have two% middle represents the path referencing Android_sdk_home, and then add tools and Platform-tools, with different variable values separated, and note that the Chinese and English semicolons are not the same.
Let's introduce the absolute path setting.
In fact, it is simpler to set the variable name: Path, Variable Value setting:.; i:\ Android\android-sdk-windows\platform-tools;i:\android\android-sdk-windows\tools
Follow the path settings for the Platform-tools and tools you installed yourself.
Finally, run the ADB command in CMD and set it up as shown in the image below.
Settings for the Android environment variable (detailed illustrated version)