Android environment construction and android Construction

Source: Internet
Author: User

Android environment construction and android Construction

Two installation methods for the Android development environment:
JDK + Eclipse + ADT
Download the integrated development tool and decompress it. : Http://pan.baidu.com/s/1dD3s3bN, no matter which installation method, before installation must first install JDK on the Computer load address:
Http://www.oracle.com/technetwork/java/javase/downloads/index.html,JDK (Java Development Kit) is the core of the entire Java, including a series of Java Development, the installation needs to configure the environment variables.
1. JAVA_HOME
JDK installation path. This environment variable does not exist and needs to be created.
Use % JAVA_HOME % as the unified reference path. The value is: jdk installation on your computer
Path.

2. PATH
The PATH attribute already exists and can be edited directly. It is used to configure the path and simplify the command input. The value is % JAVA_HOME % \ bin.

  

3. CLASSPATH

  

4. Verify that JDK is successfully installed.
After the configuration is complete, run the following command in cmd: java-version. If javac returns information, the setting is successful.
  

5. Download Eclipse
Eclipse: http://www.eclipse.org/downloads? (Select EclipseStandard ). Eclipse is an IDE developed for Java and Android. Eclipse does not need to be installed. decompress the package, cut the eclipse folder to the desired place, and set your working directory when you open it.

  

6. Download the Android SDK
Android SDK: http://developer.android.com/sdk/index.html. The Android SDK provides Android management kits and tools for Android platforms. Note that the SDK must be downloaded separately because it is installed independently rather than integrated (integrated with tools. Decompress the downloaded package to any path. In the user variable, create a PATH with the absolute PATH of tools in Android SDK (the local PATH is D: \ AndroidDevelop \ android-sdk-windows \ tools)

  

7. ADT Installation
Open Eclipse IDE and choose "Help"-> "Install New Software" from the menu. Click Add... button, the pop-up dialog box requires the input Name and Location: Name to take their own, Location input http://dl-ssl.google.com/android/eclipse (must be FQ, You can also download the ADT plug-in, select the Location of the local ADT) as shown in:

  

After the return result is confirmed, select the ADT we just added from the drop-down list after work with. We will see the Developer Tools below, which will show Android DDMS and Android Development Tools, select them. As shown in:
  

Next, follow the prompts to proceed to the next step.

After completion:
Select Window> Preferences... select Android in the left-side pane, and then click Browse... select the SDK path. The local machine is D: \ AndroidDevelop \ android-sdk-window. Click Apply and OK. Configuration complete.

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.