Go Android Development Environment Setup (graphic tutorial)

Source: Internet
Author: User
Tags android sdk manager

Transferred from: http://www.cnblogs.com/yxwkf/p/3853046.html

Yesterday built an Android development environment, tried several ways, also encountered some problems, here to share.

Note: The latest version of the SDK and ADT (23.0.0) published on the official website has bugs in the development environment integrated with Eclipse. When the building is complete, the files under SRC and layout files are empty when the HelloWorld test is established. So you might want to download the previous version number, and finally I successfully installed the SDK and ADT (22.6.2) that used the previous version number. The environment does not include the main JDK installation, etc., this can own Baidu.

Here are 3 development environments to build:

1, website Android ADT Development Environment Construction

Follow the steps of the official website completely.

1.1. Download ADT

: http://developer.android.com/sdk/index.html

The official website said: For beginners, it is recommended to download the Integrated development tool ADT, so that the development environment can be built at a high speed. This eclipse ADT bundle includes the Android SDK tools and the Eclipse integrated development environment.

1.2, installation ADK

Unzip the package to the installation folder (defined by yourself), then execute eclipse (for example) in this package, note: Do not move any files in this package, otherwise you will need to manually update some configuration.

1.3. Execute Android SDK manager to download necessary packages

Note: The offline SDK does not have to be downloaded to proceed directly to the next step.

Join? Package for SDK:

The Android SDK does not include everything we need to develop, the SDK divides the tools, platforms, and other components into very many packages, and we can use the SDK Manager to download what we need. Before we develop, we need to download some necessary packages.

Before downloading these packages, we want to launch the Android SDK Manager. Startup method is very easy, click on the toolbar of the SDK manager will be able to.

Translation:

Download the latest SDK tools

To minimize the setup of the Android SDK, you need to download something such as the following:

Open the Tools folder and select the following three

2. Select the version number of an Android API, then download for example the following:

The Android Support library provides a collection of APIs to be compatible with the multi-version Android system.

Open the Extras folder and select for example the following:

If you want to use Google APIs for development, you need to download packages such as the following. Note: Google Play services APIs do require a mobile phone to install Google Play Store. If you want to execute such a program on the emulator, you need to install the Google APIs system image via SDK Manager.

When all the required packages have been selected, click Install x packages in the lower right corner ... To install these packages, for example, note that the SDK Manager does not exit during the installation process. After the installation is complete, proceed to the next configuration.

1.4. Configuring the SDK

After reboot, enter Window-->preference to set up

1.5, install simulator with the simulator I said, too slow, the following introduction of a simulator called Genymotion, more powerful.   After the simulator is installed, the complete development and test environment is built successfully and can build a HelloWorld. 2, Eclipse IDE+SDK+ADT Development Environment Build 2.1, download eclipse

Note: Eclipse integrated Android Development Environment has a version number requirements, the lowest do not remember, it is best to download more than 4.0, or may not be integrated. I downloaded: eclipse-standard-kepler-sr2-win32-x86_64.zip

http://www.eclipse.org/downloads/

2.2. Download a separate SDK

Http://developer.android.com/sdk/index.html

2.3, decompression Eclipse2.4, configure ADT

Open Eclipse, click Help-->install New software, for example, to do the work, the end of the next can be, the middle of a warning prompt, direct OK, after the restart Eclipse.

Adt:http://developer.android.com/sdk/installing/installing-adt.html

2.5, with 1.4-1.5

3, Android Studio installed Android Studio is still in the beta stage, I use the unaccustomed, installation is very simple, do not need to be the same as before the various configurations. The direct installation is actually possible.

: http://developer.android.com/sdk/installing/studio.html

4, genymotion Android simulator 4.1, genymotion android Download installation

: http://www.genymotion.cn/

The installation of this simulator, the official website has been said to be very clear, and still Chinese.

4.2. Plug-in installation in Eclipse is similar to the installation of ADT plug-ins, for example:

Http://plugins.genymotion.com/eclipse

(This address: http://blog.csdn.net/zhshulin/article/details/37035219)

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.