Remember to install intel's haxm and x86haxm on the x86 simulator Kernel
The Android simulator has always been known for its slow running speed. This article describes how to use Intel HAXM technology to accelerate the Android simulator so that the simulator runs more slowly than a real machine, completely solving the problem of slow running of the simulator.
Intel HAXM (Hardware Accelerated Execution Manager) uses Intel (R) Virtualization Technology (VT)-based Hardware acceleration. Therefore, the CPU needs to support VT and is limited to Intel CPU, which is not compatible with amd cpu, intel HAXM is described as follows:
- Use Intel VT technology;
- Provides hardware acceleration for simulated running of Android x86 Virtual Devices;
- Integrate with Android SDK;
The hardware requirements are as follows:
- Supports Intel processors such as VT-x, EM64T, and Execute Disable Bit;
- At least 1 GB available memory
Supported operating systems:
- Windows 7 (32/64-bit)
- Windows Vista (32/64-bit)
- Windows XP (32-bit only)
- OS X 10.6 or 10.7 (32/64-bit)
Download and install Intel HAXM extensions
Start Android SDK Manager. In the Package list, the Intel HAXM extension, check, download, and do not need to go to Intel's website. For example:
After you download HAXM, you need to run the installer to install it. The download directory of HAXM isandroid-sdk\extras\intel\Hardware_Accelerated_Execution_Manager
, RunIntelHaxm.exe
Install the SDK. Follow the instructions on the screen to install it step by step.
Download Android x86 Images
Android SDK Manager already has an x86 image of 4.1.2, so select an x86 image of 4.1.2, as shown in:
Use Android x86 Images
Create or edit the Android simulator and set the CPU/ABI of the simulatorIntel Atom X86
, As shown in:
If there are no errors in the above steps, now the Android simulator runs at almost the same speed as the real machine, and there is no need to envy the iOS simulator on the MAC platform.
Android simulator cannot be used for acceleration. haxm has been installed, but intel x86 atom system image is not displayed.
To use haxm, you also need to download the corresponding sdk to create an x86 simulator,
For this problem, it is recommended to see "how to solve the problem of slow andorid Simulator ":
Tieba.baidu.com/p/3201036528
For beginners, see:
Tieba.baidu.com/p/3230106250
I am the owner of ndk. I hope you will pay attention to ndk. If you have any questions, please leave a message at ndk. Thank you!
Link to ndk: tieba.baidu.com/f? Kw = ndk
Android simulators (error problems) cannot be used on Intel X86!
Some cannot be used by intel, and android4.4 can only be used after a certain amount.