Build Android Development Environment--android4.0.3, 4.1, 4.2, 4.3, 4.x, and upgrade ADT (22.0.5) and SDK (22.x)

Source: Internet
Author: User
Tags android sdk manager

Build an Android development environment tour (Android4.0.3)

1. First to download the relevant software

1). JDK 6 or higher

2). Eclipse (Version 3.6.2 or higher) click to download

3). SDK (Android-sdk_r18-windows) is now the latest click to download

4). ADT (Android Development Tools Installation Development tool ) plugin click to download

5). You also have to download the Android SDK 4.0.4 system img, other version numbers may not download this file, click to download

Note: Suppose there is no such Android SDK 4.0.4 system img When you create the simulator will prompt error, cannot find the userdata.img file, and so on, exactly the package contains that file, then how to configure View step 4

2.JDK 6, Eclipse installation is not much to say, the downloaded android-sdk_r18-windows unpacked, for example, as seen in:

Note: The platforms and add-ons directories in the SDK just unpacked are empty

3. Next double-click SDK Manager.exe It is best to download all platforms, download slower, nearly 1 hours, download and then open the extracted android-sdk_r18-windows directory, for example:


Platforms directory subdirectories For example, note that there is no images directory in the ANDROID14/15 directory, so proceed to step 4:


4. Create a new system-images directory inside the android-sdk_r18-windows directory, create a new android-15 subdirectory within the System-images directory, and then download the downloaded Android SDK 4.0.4 system img opens in Zip, drag-and-drop armeabi-v7a into the system-images/android-15 directory to

The final in the Android-sdk_r18-windows directory for example with:


5. Install the plugin in Eclipse, open Eclipse, click on Help---> Install new software Enter, click Add, Name and click Archive Select the ADT package you downloaded, click OK, will parse out all available inside of the plugin Select All), click Next ... Installation needs a certain amount of time, during the installation of the process will appear some hints, click agree to it,

6. After installing the ADT plugin, click Window---preference and find an Android on the left side list, clicking on Android will indicate an error because the SDK has not been associated with the ADT plugin, for example:

7. Create a new simulator (AVD), click on the green phone in the Eclipse section to enter the interface, click New to enter, fill in the relevant information:

After that, click Start to start the simulator.

Click Launch

Entry--

Entry--

Entry--

8. Set the language, go to the main menu, click

Environment Construction Success OK

Add: Upgrade ADT and SDK in an existing environment

--------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------

1) The current version number of ADT is Adt-22.0.5.zip

Prior to installation, you need to uninstall the previous ADT

First, update ADT

1. Open Help->install New software in Eclipse.
2. In the Details panel, click on the "What is already installed?" link.
3. In the Eclipse Installation Details dialog box, select "Android DDMS" and "Android development Tools", then click Uninstall.
4. In the next form, confirm the ADT you want to delete and click Finish to delete it.
5. Restart Eclipse.
6. The next step, just like installing ADT again, is just that the links are already there, and everyone should be pro.

Second, update the SDK

Open SDK Manager.exe Check to the latest SDK (SDK 22.0.5), follow the prompts to install

Note: If there is a problem downloading the SDK, then set IP once again to open the SDK Manager.exe can download

Setup steps:

Open Android SDK Manager--Tools-> Options ...
Then eject the Android SDK manager-settings
Changes
HTTP Proxy Server: 1.179.147.2
HTTP Proxy Port: 8080

Open Android SDK Manager and download again after Setup is complete

Note: in the SDK Manager.exe also update the Android SDK Builder-tools, if not downloaded, then there are references to projects in the previous project can not be associated with ...

When the SDK is updated, you can restart eclipse.

share a typical case app High -speed build platform

Build Android Development Environment--android4.0.3, 4.1, 4.2, 4.3, 4.x, and upgrade ADT (22.0.5) and SDK (22.x)

Related Article

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.