Android Development Environment Building

Source: Internet
Author: User

Android Development Environment Building

This article is a personal note, some places are relatively simple, the details of the following links

Url:http://jingyan.baidu.com/article/f0062228f0b18afbd2f0c871.html

    1. Installing the JDK

Download the JDK (Url:http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-windows-i586.exe this link is a 32-bit version) of the installation package from the official website. The default installation is, and the installation JRE environment is integrated in the middle.

Configuring the environment for the JDK

Configuring the Java JDK

Right-click My Computer, properties, advanced environment variables, system variables, new


The first step:

Variable name: java_home

Variable name: C:\Program files\java\jdk1.7.0_71


Step Two:

Variable name: classpath

Variable value:.; %java_home%\lib;%java_home%\lib\tools.jar


Step Three:

Variable name: Path

Variable Value:%java_home%\bin;%java_home%\jre\bin

(If there is content in the value of the variable, separated by;)


Open cmd to execute the following command:


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/E7/wKioL1RcVOPD-Xw7AAB-HBXvRqM179.jpg "style=" float: none; "title=" Java-version.png "alt=" Wkiol1rcvopd-xw7aab-hbxvrqm179.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/E8/wKiom1RcVH_hdIP3AAAgwVHsQCM722.jpg "style=" float: none; "title=" Javac-version.png "alt=" Wkiom1rcvh_hdip3aaagwvhsqcm722.jpg "/>

Appears as shown above, indicating that Java has been successfully installed and the Java environment is configured


Download and install the Andriod SDK installation package

Download the SDK and install it (url:http://dw4.cn.uptodown.com/dw/1415195954/e13c53c934d4345db2ee52ec06ad47b0f72718fa/ Android-sdk-23-0-2-en-win.exe)

After installation, you can find "Android SDK Tools"--"SDK Manager" installation tools and extras and Andriod 2.1 in the menu bar.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/E9/wKiom1RcWJLBfqPlAAHFdlSNkGc363.jpg "title=" Asm.png "alt=" Wkiom1rcwjlbfqplaahfdlsnkgc363.jpg "/>

Configure the AVD Manage of the Andriod SDK (find "Android SDK Tools"--"AVD Manager" in the menu bar)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/E8/wKioL1RcWlLxVYHtAAIvIWXPYsM327.jpg "title=" Avd-manager.png "alt=" Wkiol1rcwllxvyhtaaiviwxpysm327.jpg "/>


Install Eclipse and Android SDK combined

Download Eclipse (url:http://mirror.bit.edu.cn/eclipse/technology/epp/downloads/release/luna/sr1/ Eclipse-jee-luna-sr1-win32.zip)

Unzip the file into the specified folder, which is a free-to-install version. can be run directly.

Double-click "Eclipse.exe" to enter the Eclipse main screen

First step: Click Help->install New software->add button

Name: Any alphabetic character

location:https://dl-ssl.google.com/android/eclipse/


Step two: After loading "Developer Tools", click to select them. (May need to hang agent)


Step Three: Next


Fifth step: Select "I accept the terms of the license agreements", click "Finish"


Sixth step: Wait for the installation. You can also click "Run in Background" to run the installation in the background.


Seventh Step: click "OK"


Eighth step: If you have additional prompts, follow the default installation method.


Eclipse and Android SDK test

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/E9/wKiom1RcXcWhnY-2AACu0sbEbcs644.jpg "title=" Andriod.jpg "alt=" Wkiom1rcxcwhny-2aacu0sbebcs644.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/E9/wKiom1RcXmbCGm7bAAG3tnklatE799.jpg "title=" Adpro.png "alt=" Wkiom1rcxmbcgm7baag3tnklate799.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/E8/wKioL1RcXxjC-ST8AAEBY6bdYT4333.jpg "title=" Build.jpg "alt=" Wkiol1rcxxjc-st8aaeby6bdyt4333.jpg "/>

Select the following sample

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4D/E9/wKiom1RcXuDTN5miAAAatNbyTMk321.jpg "title=" Jetboy.png "alt=" Wkiom1rcxudtn5miaaaatnbytmk321.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/E9/wKiom1RcX1yQj0ASAAHG_Hiix_E190.jpg "title=" Runas.png "alt=" Wkiom1rcx1yqj0asaahg_hiix_e190.jpg "/>

The following interface appears after running

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4D/E8/wKioL1RcYAfz9ZmAAAL6IduUdoc987.jpg "title=" Succe.png "alt=" Wkiol1rcyafz9zmaaal6iduudoc987.jpg "/>
The combination has been successful!


The problems that arise in the middle
    1. Unable to install SDK package update

Hang VPN.

Prompt for error when testing

The Java path is correct

Installation is correct

The AVD setting is appropriate

Check Run Error

can search the same error message again Http://wen.lu

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/E9/wKioL1RcYVbDnDQoAAH-x9ha-KQ532.jpg "title=" ok.png "alt=" Wkiol1rcyvbdndqoaah-x9ha-kq532.jpg "/>

This article is from the "Study" blog, make sure to keep this source http://meyou.blog.51cto.com/9559603/1574033

Android Development Environment Building

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.