If you want to upgrade Eclipse ADT, upgrade your Android emulator, and know that the process is not so simple

Source: Internet
Author: User
Tags android sdk manager

Since the launch of the Android Studio1.0 official version, the official website only provides the download of Android studio,

So the people who are accustomed to using Eclipse ADT bundles never download it,

In this way, you want to use Eclipse to start Android,

You can only:
(1) Each of the different kinds of external hanging,
In that situation, please go to the official website https://eclipse.org/downloads/, the situation of the process, I will write another article to explain.
Or:
2) It is not always possible to use the very accustomed Eclipse development environment to give up every time an updated version is launched.
What's more, if you've already installed something else like Java EE, PHP or Google's plugin, you're going to have to take it all back and do it all again,
So after every Android revision, there must be someone like me using the upgraded legacy Eclipse ADT bundle to launch Android.

(This is the case with this scenario).

So why not use Android Studio? (Allow me to sell a child first)

Of course first if you want to launch Android with Eclipse as I do, if you didn't download the Eclipse ADT bundle (ie: Android Developer kit and Eclipse Integration Pack), then since 2014/ Since the launch of Android Studio1.0 in December, the official website only provides the download of Android studio, so the Eclipse ADT bundle has never been downloaded.

This article will show you the install Eclipse ADT bundle upgrade to Android 5.0.1 and install the Google Play service and how to

The activation of Android 5.0.1 Google play and the Outlaw Android emulator are installed with various status and exclusions and settings.

First of all, the environment is ready, Windows 7 or more (Window XP to use the Android emulator, the point of the weather will be successful),

In addition the computer 4G RAM, 3G above the hard disk space.

The characters appear to be very small because of the web-restricted relationship.

Recommend to Download Center http://down.51cto.com/data/1971303 download the complete set of tools and office simple documents,

Due to the high clarity of the full screen and the heavy-loop selection and detailed interpretation of the operating

And there's an official final version of ADT for you to test. (Adt-bundle-windows-x86_64-20140702-part01.rar to part08)

Download all the. rar files to C: \, and decompress to a preset or customize a short name file folder (otherwise there may be a long file path bug).

Because in this example, I'm using Eclipse ADT Bundle, so I'll upgrade to Android 5.0.1 in an upgraded way, and if you're a veteran, you might want to say: "Just open the SDK manager and put the Android 5.0.1 SDK P Latform Download update upgrade to the latest not to have ". But I tried at least three times to prove that it was not so simple, there were a number of successful experiences, but at the time I did not take a picture of the evidence, so I did it once again.

From the head operation to the last:

1. Start Eclipse:

2. Decide which folder to add to your workspace or which folder you will use:

650) this.width=650; "style=" Float:none; "title=" ADT Bundle_seamless_upgrade_to_latest_version ([02]-total[21]) (. 58Smaller). png "alt=" wkiom1szyqtwv-graajhtww8ixw929.jpg "src=" http://s3.51cto.com/wyfs02/M02/58/84/ Wkiom1szyqtwv-graajhtww8ixw929.jpg "/>

3. Go to window→android SDK Manager.

4. Download the latest version of the Android 5.0.1 SDK (API 21) under the SDK platform (my downloaded)

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([06]-total[21) (. 58Smaller). png "alt=" Wkiom1szyqjdtusraapj5qoekja329.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/84/wKiom1SzYqjDTuSrAAPJ5qOEKjA329.jpg "/>

5. Step 5 and the next step 6 is the action of the steps under the same page:
Images of the Google APIs Intel x86 Atom System image with Google Play Store in the download (which is not downloaded by the actual hand program)

6. Download Google Play Services (this is what Google Maps will use for Google Play's library),

And the download of the Intel x86 Emulator Accelerator (This is an accelerator for Android emulator Fast and execute).

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([05]-total[21) (. 58Smaller). png "alt=" Wkiol1szy2-blmutaanmznk_on0465.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/81/wKioL1SzY2-BLmuTAANmzNk_ON0465.jpg "/>

7. Strange things happen, and this is what I said in the title of the article: "Not So Simple",
Obviously downloading Google APIs Intel x86 Atom's image file does not know that lifting is not downloaded (not installed), even if it is related to eclipse and then open Eclipse re-refresh the collation, and then re-download or repeat the download of the results is still the same, (the cause of the birth : The download is explained in the simplified archive.)

So why not use Android studio? Mainly:
(1) because it is too resource-intensive, Android must have at least 8G memory to have a few laps experience and a minimum of 6G of hard disk space.

(Although the Android developer official network thinks 4G memory and 1.4G HDD space is enough)

But this example is because the image files needed to launch Google Play-compatible apps, and the Nexus Modeler image of its own Android studio, plus the user data cache, plus the original compression file will be 6G.

(2) and because of the need for installation, so the lack of carrying,
(3) and the suggestion function of the lack of Mainifest.xml's auto option.

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([07]-total[21) (. 58Smaller). png "alt=" Wkiol1szy3hsqne5aao9nzffvo8834.jpg "src=" Http://s3.51cto.com/wyfs02/M02/58/81/wKioL1SzY3HSqNE5AAO9NzfFVO8834.jpg "/>

8. Download the Android SDK and Android SDK Platform tools, and after downloading the update, you will jump out of the conversation block to remind you to get rid of Eclipse and then open Eclipse. (Because of this, the information structure in the work area and the window screen will be refreshed again).

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([08]-total[21) (. 58Smaller). png "alt=" Wkiol1szy3kyihslaap722anjks606.jpg "src=" Http://s3.51cto.com/wyfs02/M00/58/81/wKioL1SzY3KyihslAAP722ANJKs606.jpg "/>

9. The eclipse has been re-opened, and now once again the Google APIs Intel x86 Atom System image (image file) is downloaded,
If your Android program has been tested on a physical machine, then you won't have to look at it.

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([09]-total[21) (. 58Smaller). png "alt=" Wkiom1szyqysfoqbaaomdjdievc307.jpg "src=" Http://s3.51cto.com/wyfs02/M00/58/84/wKiom1SzYqySfOqbAAOmDJdieVc307.jpg "/>

10. Download Google APIs Intel x86 Atom System image (image file), and the software will automatically download a Google APIs for me after the license is granted.

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([10]-total[21) (. 58Smaller). png "alt=" Wkiol1szy3awzd17aaopv2zbwfc687.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/81/wKioL1SzY3awzD17AAOpV2ZbwFc687.jpg "/>

11. Go to WINDOW→AVD Manager and press [create] at AVD Manager
Cpu/abi: Choose Google API Intel Atoms (x86),
Target: You can choose from the version of your target system, I choose Google APIs (...), API 21.
The triangle warning message can be ignored, then press [OK] to complete.

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([11]-total[21) (. 58Smaller). png "alt=" Wkiom1szyq_jemd_aamrryct20i634.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/84/wKiom1SzYq_jeMD_AAMRRYct20I634.jpg "/>

12. If you activate this Intel x86 Atom Android emulator, it will be wrong.
You need to install the accelerator HAXM (Intel Emulator Accelerator) first.

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([12]-total[21) (. 58Smaller). png "alt=" Wkiol1szy3jcq4yqaakayu8lhoo616.jpg "src=" Http://s3.51cto.com/wyfs02/M02/58/81/wKioL1SzY3jCQ4yqAAKaYU8LHoo616.jpg "/>

13. First find out where the accelerator HAXM is located, typically in the SDK folder of the Android ADT Bundle,
That is [the location of your Android Sdk]\extras\intel\hardware_accelerated_execution_manager,

In this case, I put it in C:\user\my\Documents\adt-bundle-windows-x86_64-20140702\.
Sdk\extras\intel\hardware_accelerated_execution_manager. Intelhaxm-android.exe

The download's simple:

Download the simple archive, the article was misunderstood as Extras\extras twice: the following:
[Your Android Sdk]\extras\extras\ ... (omitted): The location.

Simple, 13-step article. Corrected to:
13. First find out where the accelerator HAXM's installation is located, usually in ...

That is [the location of your Android Sdk]\extras\intel\hardware_accelerated_execution_manager,

The above is a simple archive of the download

15. and 16. Is this good? Just know: "Not so Simple", install Intel Accelerator if your BIOS setting XD does not have the activation [on] also will be wrong (BIOS screenshot), in addition to the BIOS of the Intel VT is also to be used.

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([15]-total[21) (. 58Smaller). png "alt=" Wkiol1szy33zwf3laapb8uwnac4340.jpg "src=" Http://s3.51cto.com/wyfs02/M00/58/81/wKioL1SzY33zWf3LAAPB8UWNac4340.jpg "/>

17.BIOS after the installation, re-install Intelhaxm.exe, and then set the memory allocated to the accelerator, as long as your hard memory has more than 4G, you can set 1024MB to the Intel HAXM Accelerator (approximately 1/4).

18. The installation is complete, there is no big problem with this window, uncheck the checkmark (no cancellation is not a nuisance),

Then press [Finish] to open the Android emulator.

Unless you are using the Windows XP operating system (XP to use Intelhaxm.exe version 1.0.4), (currently the latest is the 1.1.1 version is not good), or:

Forget to restart the computer after the installation.

650) this.width=650; "style=" Float:none; "title=" adt_-_seamless_upgrade_-([17]-total[21) (. 58Smaller). png "alt=" Wkiol1szy3-brjimaajhkmmrm38540.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/81/wKioL1SzY3-BRJiMAAJhkmmrM38540.jpg "/>

19. Re-open Eclipse, Window→avd Manager,

And then jump out of the window and select a new Android emulator to start the machine,

650) this.width=650; "style=" Float:none; title= adt_-_seamless_upgrade_ Supplemental _480x800 screen 1 (. 58Smaller). png "alt=" Wkiom1szyrucevrfaakq1iw9uni211.jpg "src=" Http://s3.51cto.com/wyfs02/M00/58/84/wKiom1SzYruCeVrFAAKq1Iw9uNI211.jpg "/>

Android emulator to complete the machine.

650) this.width=650; "style=" Float:none; title= adt_-_seamless_upgrade_ Supplemental _480x800 Screen 2 (. 58Smaller). png "alt=" Wkiol1szy4tzfjsqaakrkcwv1d4053.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/81/wKioL1SzY4TzfjSQAAKRKcwV1d4053.jpg "/>

===============================================================================

Supplementary charge: 1 It took 9 minutes to complete the machine. A bit out of the recipe.


After a few days removed the 5.2 version (version 1.1.1) of the Intel Accelerator, back to the installation of the previous version 4.x (version 1.0.8),

Open 400x800 's Android emulator and the machine finishes for as long as 40 seconds.

So not the Android problem, but the new 5.x version of the accelerator does not have a perfect match for the relationship.

Supplement: 2 This is another Android 5.0.0 update installation complete, which proves that Google Play Service running Google Maps or Google Drive on such a simulator is absolutely not a problem.

650) this.width=650; "style=" Float:none; "title=" 4.ndro5.0emu_..._gapi21_gooplay_x86img_ok (. 58Smaller). png "alt=" Wkiom1szyqchtjh6aau8tmbcl1u251.jpg "src=" Http://s3.51cto.com/wyfs02/M01/58/84/wKiom1SzYqChTjh6AAU8tMbCL1U251.jpg "/>

If you want to upgrade Eclipse ADT, upgrade your Android emulator, and know that the process is not so simple

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.