Installing ADT and ADK to eclipse

Source: Internet
Author: User
Tags android sdk manager

1. After installing the JDK, configure the environment variables:

In order to configure the system variable environment of the JDK, we need to set up three system variables, namely Java_home,path and classpath. Here are the three variables that are set to guard against.

Java_home
Set the system variable name first, and the variable value is the JDK's installation path on your computer: C:\Program files\java\jdk1.8.0_20. Once created, you can use%java_home% as the unified Reference path for the JDK installation directory.
Path
The Path property already exists, can be edited directly, appended with the original variable:;%java_home%\bin;%java_home%\jre\bin.
CLASSPATH
Set the system variable name to: CLASSPATH variable value is:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar.
Note the variable value string is preceded by a "." Represents the current directory, the purpose of setting up classpath is to tell the Java execution Environment, in which directories you can find the classes or packages that you need to execute the Java program.

2. Download and install the offline ADT Package

Replace the adt-xx.x.x part of the Http://dl.google.com/android/ADT-xx.x.x.zip address with the ADT version number you want to download, and the ADT version number can be identified in the Android SDK manager. Example: Adt-23.0.6,http://dl.google.com/android/adt-23.0.6.zip

Eclipse:help->install New software ...,

Click "Add ..." in the Pop-up dialog box of location, select Archive ..., select the downloaded ADT Zip file, all items are selected for installation.
After the installation is complete, download the SDK via the Android SDK manager.

Installing ADT and ADK to eclipse

Related Article

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.