Settings for the Android environment variable (detailed illustrated version)

Source: Internet
Author: User

 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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.