introduction
After installing Android Studio and setting the SDK Path (for instance, setting the JDK location to the JAVA_HOME variable in Environment Variables and so on), sometimes we may encounter the following error when launching our Android Virtual Device (AVD).
“Hax Kernel Module is not installed.”
Go to SDK Manager, then
Extras and download the HAXM Installer.
Surprisingly, we will still get the same error “Hax Kernel Module is not installed.”.
So here is the solution to successfully launch an AVD in Android Studio.
Step 1
After downloading the Intel Emulator Accelerator (HAXM Installer) just go to the following path:
C:\Users\abhi\Android Studio Sdk\extras\intel\Hardware_Accelerated_Execution_Manager
Install the intelhaxm-android.
Step 2
Click Next.
If Virtualization Technology is not enabled in our system, then we will get an error as in the following:
Step 3
Before going to the BIOS setup, go to Control Panel, then Programs, Program, and Features. Then you can see the following dialog box: "Turn Windows features on or off”.
Just Check the Hyper-V Virtualization
Microsoft Hyper-V is a hypervisor-based virtualization solution for x86-64 systems and an important player in the booming server virtualization space.
Step 4
Here's an important step. Just restart the system and go to the BIOS Setup.
- Go to System Configuration.
- Go to Virtualization Technology.
Just enable it and Exit with Save Changes.
Step 5
Again go to the following path:
C:\Users\abhi\Android Studio Sdk\extras\intel\Hardware_Accelerated_Execution_Manager
Install the intelhaxm-android again as in the following:
This time it will not give an error.
Step 6
Now we can launch our Android Virtual Device (AVD), Emulator.
We can see “There is no error” in Device Logcat.