"Android Dev-1" must-do thing for Android development environment to build

Source: Internet
Author: User

The Internet mobile is now developing faster and faster, a variety of application software and the rise of the Hand tour, the mobile end of the rich and colorful; the mood an excitement, the mind a fever, began to watch the video, read study. Remember the 11 when there was a study of the development of Android, but only the basic study of the next, not seriously in-depth study. This time, I decided to study hard, and recorded by the blog, witness the process of their growth.


First, the preparatory work

1. Download the latest version of jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. Download Eclipse, select Eclipse IDE for Java EE developers:http://www.eclipse.org/downloads/

The downloaded package is: Eclipse-jee-luna-r-win32.zip

Note: You need to download the version according to the number of bits of your operating system

3. Download the Android SDK, the official website into the speed is very slow, need patience: http://developer.android.com/sdk/index.html

A. Access page:


B. Click on view all DOWNLOADS and SIZES, which appears as follows:


C. Select Installer_r23.0.2-windows.exe to start the download


Note: If you select Eclipse ADT Download directly, it already contains what you need for a development environment such as the eclipse,android SDK Tool,adt plugin, which is said to be suitable for beginners. The beginning is also download this, I toss half a day, the result is very do not understand, did not build the environment. But toss over the following steps, and then back to understand, it is easy to build a development environment, well this is not much to say, or to practice the truth.


4. Download Eclipse Plugin ADT, there are two ways: an online installation (method mentioned below), a download offline package installation;

I install the installation is not installed, so choose the offline package installation Http://pan.baidu.com/s/1pJFM3Dx

Downloaded package: Adt-23.0.2.zip


second, build the development environment

1. Install the JDK, this has learned Java generally understand, the specific steps to refer to: http://blog.csdn.net/qivan/article/details/8114497

The installation succeeds if the following appears:

C:\users\administrator>javac-version ' Javac ' is not an internal or external command, nor is it a program or batch file that can be run. C:\users\administrator>java-versionjava version "1.8.0_05" Java (TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot (TM) Client VM (build 25.5-b02, mixed mode, sharing)


2. Install the Android SDK, click on the download Installer_r23.0.2-windows.exe, install the process, you choose a suitable location to start the installation (for example: D:\AndroidSDK)


3. Then find the downloaded Eclipse-jee-luna-r-win32.zip, unzip to the appropriate location (D:\DevelopTools\eclipse), Then open Eclipse.exe, first open, you need to select a workspace, choose a suitable place (such as D:\AndroidWork); After entering eclipse, click the Help->install New software->add button, Find the ADT Offline package adt-23.0.2.zip that you just downloaded, with the following interface:



Note: Online installation, very simple, the location of the address replaced: https://dl-ssl.google.com/android/eclipse/can, because of my speed, I tried unsuccessfully.


Click OK, select all the things you need to install, the following interface appears:


Then the next step, the following interface appears:



A warning is selected OK, continue until completed, and restart Eclipse as required


4. After rebooting, locate the window on the menu bar, on the left side of the pop-up menu, select Android----click the Apply button in the SDK location directory to choose the previously installed Android SDK directory, and then click OK.


5. Then click on the first icon in the red box below, which is the Android SDK management tool


After opening the SDK management tool, select the Android SDK version you need to download, I only download 4.2; Click Install Packages, as required next installation, speed slow, installation estimate long.




Note: If the download does not come down, you can try to click on the menu above the Tools-->options, the interface appears, set as follows:


6. Create an Android virtual simulator, click on the second icon of the red box above, the following interface appears



Click the Create virtual device and set the following



Click OK and the virtual device creation is complete.


7. So far, the Android development environment is complete, and the next chapter goes to the first simple example Hello World!


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.