Build an Android development environment tour

Source: Internet
Author: User

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 currently the latest click to download

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

5). Also download Android SDK 4.0.4 system IMG, other versions may not download this file, click to download

Note: If you do not have this Android SDK 4.0.4 system img When you create the emulator 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, the installation of Eclipse is not much to say, the download finished android-sdk_r18-windows unpacked, as shown:

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

3. Next double-click SDK Manager.exe It is best to download all the platforms, download slow, nearly 1 hours, download and then open the extracted Android-sdk_r18-windows folder, such as:

Platforms folder subfolders such as, note that there is no images folder in the Android14/15 folder, so also proceed to step 4:

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

Last in the Android-sdk_r18-windows folder such as:

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 resolve the plug-in all available Select All), click Next ... Installation requires a certain amount of time, during the installation of the process will appear some hints, click Allow,

6. After installing the ADT plugin, click Window---preference, and find an additional Android on the list on the left, clicking on Android will indicate an error because the SDK has not been associated to the ADT plugin, add the SDK target location, such as:

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) Now the latest version of ADT is adt-22.0.5.zip

Before installing, 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 window, confirm the ADT you want to delete and click Finish to delete it. 5. Restart Eclipse. 6. The next step is the same as the reinstallation of ADT, except that the links are already there and should all 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, set the IP to reopen SDK Manager.exe to download

Setup steps:

Open Android SDK Manager--Tools-> Options ... then eject the Android SDK manager-settings Modify http proxy Server: 1.179.147.2 http proxy Port: 8080

Re-open Android SDK Manager after Setup and download

Note: In the SDK Manager.exe also update the Android SDK Builder-tools, if not downloaded, then there is a reference item in the previous project can not be associated ...

When you have finished updating the SDK, restart Eclipse.

Build an Android development environment tour

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.