赞
踩
HAXM Installation Failed is a very common error that occurs when installing Android Studio. This guide explains what is Intel HAXM and how to install Intel HAXM. We will also look at various issues that may result in HAXM installation failed error and how to solve them.
Table of Content
The HAXM stands for Hardware Accelerated Execution Manager. It is a cross-platform hardware-assisted virtualization engine (hypervisor), The Android Emulator use HAXM in intel platforms to speedup & improve performance
The Android Studio Installs Intel HAXM when you install Android Studio. But you may get the HAXM Installation Failed message because of the following reasons
HAXM Installation Failed
Intel HAXM cannot be used on systems without an Intel processor. Even if the processor is Intel, it still needs to have the support VT-x, EM64T, and Execute Disable Bit
For AMD Based PC, you can use the Hyper-V to run the Android Emulator
Hyper-V is another Virtualisation technique just like Intel HAXM. You cannot use both at the same time. Hence, It is necessary to Disable Hyper-V. You can follow these steps to disable Hyper-V
Disabling the HyperV. One of the main reasons for HAXM Installation Failed message
Hyper-V might not be disabled
If you have windows 10 features such as Device Guard and Credential Guard is enabled, it can prevent Hyper-V from being completely disabled.
The Device Guard and Credential Guard hardware readiness tool released by Microsoft can disable the said Windows 10 features along with Hyper-V:
@powershell -ExecutionPolicy RemoteSigned -Command "X:\path\to\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable"
If virtualization is disabled in the BIOS, you need to enable it.
Turn off the PC and then turn it On. Press either F2 or DEL ( The key may differ in your PC) key to enter the BIOS at the startup. You will likely to see a message at the startup regarding the key to press to enter the BIOS
Enabling Virtualisation in Bios
You may see the Virtualisation under any of the following menus.
The feature may go by the name
Your CPU may not support Virtualisation. You can refer to Does My Processor Support Intel® Virtualization Technology? article to check if your PC Supports Virtualisation
The Avast Antivirus interferes with the HAXM installation. It may also slow down the Android Emulator. The workaround is goto Avast Settings > Troubleshooting and uncheck “Use nested virtualization where available” option
There are two ways in which you can install Intel HAXM.
Go to Android SDK Manager (Tools -> SDK Manager) and select SDK Tools. You will find the Intel x86 Emulator Accelerator HAXM installer listed here. Select it and click on OK.
Intel x86 Emulator Accelerator HAXM installer
The clicking OK button does not install the HAXM Always. But it will copy the downloaded files to the under the SDK Location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/
You can then click on the intelhaxm-android.exe
to install as shown below
You can directly download the Installer from the link HAXM Releases
Once you unzip the file, you will find the intelhaxm-android.exe
Install Intel HAXM
Welcome to the Intel HAXM setup wizard
Welcome to HAXM Setup
Click on Next to complete the installation.
Use the haxm_check.exe
to check if VT is supported in your PC
Finally, you need to check if HAXM is installed and running. You can do it from the command prompt by using the command
sc query intelhaxm
Installing Intel HAXM is a must if you want to run Android Emulator in Windows PC. Without which the Android Emulator will run very slowly. It is installed, when Android Studio is installed, but you get the HAXM Installation Failed error message. The most common error is due to the fact that Virtualisation is not enabled on your PC. Or because HyperVisor is running or the processor is not intel based. We learned how to solve all these issues in this guide
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。