Windows installation Android Development environment Eclipse+sdk+adt

Source: Internet
Author: User
Tags android sdk manager

Preparation conditions

Operating system: Win7 64-bit

Required resources: JDK, Eclipse, SDK, ADT

Step Introduction:

First step: Download and install the latest version of the JDK

Step two: Download and install eclipse

Step three: Download the installation SDK

Fourth step: Installing the ADT Tools component

Here is a detailed description of the installation process

First step: Download and install the JDK

Recommended to the official Oracle website to download the latest version, attention to choose the appropriate version of the system, address: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Currently the latest JDK version is 1.8, download it and install it directly.

Next, you need to configure the path path of the JDK (it does not seem to be configured, but it is recommended). Open the computer environment variable configuration, create a new java_home, and value the JDK's installation directory, such as: D:\Program Files (x86) \java\jdk1.8.0_131. Then open path, add path:;%java_home%\bin;%java_home%\jre\bin. Then, add the variable value in the system variable classpath:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar, note that 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 which directories can be used to find the classes or packages that you need to execute the Java program.

After the completion we will verify, run cmd, enter: java-version, if the JDK version number information, the installation is not a problem.

Step two: Installation of Eclipse

This is not necessarily to install eclipse, some people like studio, some people like myeclipse, personal love. Eclipse is the Java Program Development platform, a framework that can be used to build a development environment by adding plug-in components. It can be used not only to develop Java programs, but also to write Python and do Android development after installing plugins. : http://www.eclipse.org/downloads/. Note that when installing eclipse, there are generally two versions to choose from:

Eclipse IDE for Java Developers: provides some of the tools required for Java development, including Java IDE,CVS clients, git clients, XML editors, Mylyn,maven and Windowbuilder

Eclipse IDE for Java EE developers: Provides Java developers with the tools to create Java EE Web applications, including Java Ee,jpa,jsf,mylyn,egit

In fact, two almost, casually next can, if not to do Web applications and network programming, such as development, no bad. The author installs the first one.

Step three: Install the SDK

There are two ways of doing this:

The first Download SDK tools installation, can go to http://www.androiddevtools.cn/this website to download, download good direct installation.

If you want to make it easy to use the development tools included with the Android SDK, you can set the tools directory in the installation directory of the Android SDK in the path of the system environment variable. It doesn't matter if you don't set it.

The second way can be installed with eclipse.

Open Eclipse's windows-android SDK Manager, with a variety of downloaded and not downloaded versions of the installation package. Choose what you need and click Install packages. Description: FQ is required here.

Wait...

After the installation is complete, the next step is to create the AVD, which is the virtual device.

Explain, in fact, if there is a real machine can be debugged, do not install virtual equipment, the author is using the real machine debugging, AVD used very little. The installation of the SDK is necessary, because the SDK has ADB tools, which is a very useful and very common tool, regardless of development or testing are often used. Of course, the ADB can also be downloaded separately.

Fourth Step: Install ADT

How can eclipse be associated with the SDK when the previous installation of Eclipse is used to develop Android programs? This is the role of ADT. ADT is available in two ways, installing and downloading the installation online.

First of all, download the installation steps:

    • 1. Download the ADT plugin's zip file (do not unzip)
    • 2. Launch Eclipse, then select Help > Install New Software on the menu bar
    • 3. Click the Add button in the upper-right corner
    • 4. In the "Add Repository" dialog box, click "Archive"
    • 5. Select the ADT zip file that you downloaded and click OK.
    • 6. Enter "ADT Plugin" at name, click "Finish"
    • 7. In the Software dialog box, select the Developer Tools check box, and then click Next
    • 8. In the next window, you will see a list of tools to download. Click "Next"
    • 9. Read and accept the license agreement, then click "Finish"
    • 10. After the installation is complete, restart eclipse

The second way is to install online, or you need to FQ.

    • 1. Launch Eclipse, then select Help > Install New Software on the menu bar
    • 2. Click the Add button in the upper-right corner
    • 3. Enter "ADT Plugin" at name, enter "https://dl-ssl.google.com/android/eclipse/" at location (URL)
    • 4. Click "OK"
    • 5. In the Software dialog box, select the Developer Tools check box, and then click Next
    • 6. In the next window, you will see a list of tools to download. Click "Next"
    • 7. Read and accept the license agreement, then click "Finish"
    • 8. After the installation is complete, restart eclipse

Configuring the ADT Plug-in

    • 1. Start Eclipse and select Windows>preferences>android
    • 2. Select "Browse" in the tab and select the directory (unzipped) of the previously downloaded Android SDK's zip file (extracted directory), click OK
    • 3. Click OK

Finished, the environment is basically built here!

Windows installation Android Development environment Eclipse+sdk+adt

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.