工欲善其事 its prerequisite---Android development environment Building

Source: Internet
Author: User

Very early in the developer. Android. com/is not a wall, downloaded the integrated ADT, without configuration can be developed, also made a simple Hello world, and did not move Android for a long time. Recently wanted to re-learn Android, but the struggle to use Eclipse or Android studio. As as Google's own main push products, from the functional integrity and follow-up development is certainly better than eclipse, but 8g memory recommended configuration, put a lot of small white block outside the door, loaded my small x220 memory immediately approaching 100%, scared I hurriedly unloaded, Or honestly with eclipse, after all, the threshold is relatively low, for most Java programmers to use is more convenient. However, due to the Wall Download SDK, install ADT plug-ins or a bit of trouble, Tinker half a day finally also successfully set up the environment, the following simple record under the construction steps, so that the need to build small white to make less detours

(a) First of all, the JDK must be installed.

Since the project at hand needs to be compiled with 1.6 jdk, the green version of the 1.6 JDK is installed, but it is recommended to use 1.7+ 's jdk to download the website.

Configure the environment variables correctly after installing the JDK.

The above relatively simple is not to repeat, will not be configured to self-Baidu.

(ii) Download the protagonist Eclipse

Go to official website http://www.eclipse.org/downloads/download to use Eclipse, according to your computer is 32/64 bit download corresponding Eclipse IDE for Java developers.

  

Currently Eclipse is the latest version of Nene, which requires the use of 1.7+ jdk to run, so I choose to compare the older version of the Luna, but also more stable, can be found in more downloads,

  

(iii) Download SDK Manager

can go to http://www.androiddevtools.cn/Download SDK Manager, we choose to compress the package version, decompression can be used

(iv) Download the ADT plugin for Eclipse

or download the SDK Tool page, we found ADT plugin, download the latest version of the

(v) Configuring the development environment

The above is the download good three software

  Installing the ADT Plugin

1, the Eclipse decompression double-click Open, set the workspace into the familiar Eclipse interface, the need to install plug-ins

2. Help > Install New Software

3. Click the Add button in the top right corner to eject

4. Name Input adt,location column click to select

5, then click Next, need to confirm the page click is a step by step installation, restart Eclipse. (The installation process will download some plug-ins, more slowly need to wait patiently)

 

  Download SDK

1. After decompression, double-click

2, because of the wall, so we choose to download the SDK data through the domestic image, in the Open SDK Management window Select Tool > Options, fill in the image address mirrors.neusoft.edu.cn, Port 80, tick on

  

3, close the configuration window, you can choose the JDK version you want to download

4, in the process of downloading found extra under the search for a half-day only found in the latest Android studio do not need to download the library, as long as the download can be used, it seems that Google in promoting their products moved a lot of thought. In fact, only need to click the package, tick on show Obsolete packages can see the library and download, this class library is outdated deprecated deprecated.

5. After downloading the SDK and corresponding tools, you can configure the SDK path in eclipse. (Download is still a lengthy process, it is best not to check all versions of the SDK, download only one or two)

  

  Configuring the SDK in Eclipse

  1. In Eclipse, click Window > Preferences > Android to set the path of the SDK.

  

 

Now that the Android development environment is set up, you can create an Android project and start your Android development journey!

工欲善其事 its prerequisite---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.