Android Learning Series (i) Environment construction

Source: Internet
Author: User

To learn Android development, the first thing to do is to build an Android development environment, so how to build the Android environment?

First, the tool preparation:to build the environment, the first need is the natural development of software, the following two kinds of optional one can:
    • Adt-bundle-windows-x86_64-20140702.zip---> My choice (Eclipse's loyal fans)
    • Android-bundle
second, installation platform and tools:What happens next when the tool software is ready?
    • Unzip the Adt-bundle-windows-x86_64-20140702.zip and you can see the following files in the extracted directory:

    • Go to the Eclipse folder and click Eclipse.exe to launch the Eclipse tool
    • After you start eclipse, we can see that the Eclipse's toolbar is labeled as:

    • We click on the first icon in the Line drawing section (ie: Android SDK Manager) and then we can see the following interface:

    • Next, we are going to operate on this interface to build our own development platform.
    • The first step is to explain:
      • What does this interface do ?
The function of this interface is to build the platform of Android development, for example: In this interface choose android 4.4.2 (API),we can use the ANDROID19 API for Android app development, and the app can run on the system for ANDROID4.4.2 of Android phones.
      • What are some of the options in this interface (Android SDK Manager) ?
        • Tools:android Development Standard Tools
        • Android 4.2.2 (API 17) or Android4.4.2 (API 19), etc.: these are different versions of the SDK
          • ARM EABI v7a System Image
          • Intel x86 Atom System Image
          • MIPS System Image
          • Google API: When it comes to Google apps like Google Maps, you need to use the Google API
Note: The /c0>1) All three of the above except Google are mirrored, these images are required to create the emulator 2) Choose what version, what API, based on the "Android market share" to decide. According to the current share, shouldChoose 4.4.x, 4.2.x, 4.1.x, minimum compatibility to 2.2.x, in order to ensure that the majority of mobile phones run, should be the lowest andcapacity of 2.2
        • Extras: All are extension tools, select as needed. For example: Android support Library, can achieve the compatibility of high- version API
    • After we have built our own development platform according to our own needs, we need to create an Android simulator:
Click on the second icon, then click Create, the interface is as follows:
    • After the setup is complete, you can see the following display:

    • Select the simulator that we want to start, and it displays as follows when the boot is complete:

at this point, our development environment has been set up, we can freely to realize their own ideas, the development of their own appThird, error resolution:due to current domestic network limitations, the download failure error may occur when updating the SDK Manager. For this problem, the solution is as follows:1. First open the SDK Manager and click Tools-->options2. Make the following settings:    

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Learning Series (i) Environment construction

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.