If you've used the Android SDK, you've probably noticed that Intel Atom x86 system images for the emulator have been available for a while now. You might have been frustrated with the fact that the system image didn't include access to any of the Google APIs. I have good news: Google has released an x86 system image for the Android SDK that includes the Google APIs (supporting API 19/Android 4.4.2). That means you can now test your apps that use Google APIs on an x86 virtual device image (and take advantage of the huge hardware acceleration speed boost you get from our HAXM driver if your development system has Intel VT virtualization technology).
Here's what you need to do to get it.
To get the x86 system image with Google APIs, open up the Android SDK Manager window in Eclipse, Go to the "Android 4.4.2/API 19" section, and install both "Intel x86 Atom System Image" and "Google APIs (x86 System Image)", like so:
Install the packages as usual, following the on screen prompts.
Once the new system image is installed, you'll need to create a new Android Virtual Device (AVD) for the emulator to use (you can also edit an existing AVD, but I'll leave that as an exercise for the reader). Open up the Android Virtual Device Manager window in Eclipse, then click New to create a new virtual device, configured to use the new system image, like so:
The important setting is "Target:". Make sure you select "Google APIs x86 (Google Inc.) - API Level 19". You can configure the other settings according to your needs.
If you're not already using it, you're going to want to get our HAXM (Hardware Accelerated Execution Manager) tool, which can drastically speed up the emulator in the Android SDK. From the product page:
The Intel Hardware Accelerated Execution Manager (Intel® HAXM) is a hardware-assisted virtualization engine (hypervisor) that uses Intel Virtualization Technology (Intel® VT) to speed up Android app emulation on a host machine. In combination with Android x86 emulator images provided by Intel and the official Android SDK Manager, HAXM allows for faster Android emulation on Intel VT enabled systems.
If you're developing on a machine with an Intel CPU that has VT (most do - go here if you need to check) and you have installed HAXM, you'll know it's working if you see the following when you start your Android Virtual Device:
If you see "HAX is working and emulator runs in fast virt mode", you're all set - you should notice a significant improvement in the speed of emulated devices using x86 Android system images.
If you have any questions or need help with getting these system images installed, or getting the emulator or HAXM working, please let us know. Leave a comment here, or better yet, check in our Android forum to see if someone has already asked your question and gotten an answer. If not, post it there, and we'll do our best to help you out.
Related Articles and Resources:
Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.
Notice revision #20110804