Requirements
Recently started to touch Android embedded development, on the Android developer website very explicit destination, Google provides the Android Studio 1.1.0 introduction and download links. I know Google's focus on Android studio, and Google also recommends using Eclipse+adt developers to move to the Android studio platform, so I'm pretty happy to install a studio. When I start the first project, the results look!
Emulator: ERROR: x86 emulation currently requires hardware acceleration! PleaseensureIntel is and usable. CPU acceleration Status:module is not installed!
What is Intel HAXM
Android Simulator has been known for its slow running speed, this article describes the use of Intel HAXM technology to speed up the Android simulator, so that the simulator run the same as the real machine, completely solve the problem of the simulator slow operation.
Intel HAXM (Hardware Accelerated execution Manager) uses Intel (R) virtualization Technology (VT)-based hardware acceleration, which requires CPU support for VT, while and is limited to the Intel CPU, and AMD CPU is not, the description of Intel HAXM is as follows:
- Using Intel VT technology;
- Provides hardware acceleration for analog running of Android x86 virtual devices;
- Integration with Android SDK;
Hardware requirements:
- Intel processors that support Vt-x, EM64T, and Execute Disable Bit;
- At least 1GB of available memory
Intel HAXM Download and install
Launch the Android SDK, at the bottom of the Extras directory, tick the Intel HAXM item and download it.
After the download is complete, you also need to run Setup to install it, HAXM download directory is: Sdk\extras\intel\hardware_accelerated_execution_manager, run Intelhaxm-android.exe installation, according to the screen prompts, step by step installation can be
Virtualization Technology Error
If the following error occurred during installation, as previously mentioned by Intel HAXM using Intel VT Technology, you need to open virtualization technology entry in Bois.
This for HAXM But Intel Virtualization Technology(VT-x) are not until VT-is. for more information
After the setup is successful, rerun the setup file and enter SC query INTELHAXM in the console. The emergence is the success!!
Download and use Android x86 image
The Android 5.0.1 API provides 32-bit and 64-bit Android x86 image files depending on the operating system, which is selected here.
For Android x86 mirroring, when you create a new or edit Android Emulator tab, set the emulator Cpu/abi to Intel Atom X86, or Intel Atom x86_64 if the 64-bit system is selectable.
If the above steps are set correctly, the Android emulator can start almost within 30 seconds! Let's take a look at the Android 5.0.1 interface!
"Go" installs Intel Haxm for Android emulator acceleration, starts in 30 seconds to complete