• Register
0 votes
69 views

Problem :

I had tried to run the Hello World application in the Android Studio. But I got the following error:

Emulator: ERROR: x86 emulation currently requires hardware acceleration!

Please ensure Intel HAXM is properly installed and usable.

CPU acceleration status: HAX kernel module is not installed!

Can anyone tell me what can I do to fix the above error?

6 5 3
7,540 points

Please log in or register to answer this question.

2 Answers

0 votes

Solution :

Install your Intel x86 Emulator Accelerator by using the Android SDK Manager

If you have the Android Studio installed then you can start the SDK manager via the Tools -> Android -> SDK Manager. Your Android SDK Manager does not actually install the HAXM, it simply downloads it. In the top of your Android SDK manager window you can find that where is the installer is located on your PC.

Please open your subfolder extras\intel\Hardware_Accelerated_Execution_Manager, and run your installer manually as: intelhaxm-android.exe.

Now to use your intel HAXM, you need to have the CPU with virtualization support:

Before even attempting to use such a type of acceleration, you must first determine that if your development system’s CPU is supporting one of the below virtualization extensions technologies:

· Intel Virtualization Technology (VT, VT-x and vmx) extensions

· AMD Virtualization (AMD-V and SVM) extensions (Only supported for the Linux)

If the CPU does not have the virtualization support, you should use the ARM emulator instead.

9 7 4
38,600 points
0 votes

Usage of AVD manager of Andriod can be a headache for some windows users when they try to set up an emulator with an x86 Andriod image for any target API level. To avoid this error, we have to ensure that we have Intel HAXM for Andriod installed on our machines.

Solution:

  • For solving this error, start the Andriod SDK Manager which is located in Andriod\sdk and verify in Extras option if you already have the Intel x*6 emulator accelerator installed on your machine.
  • In case if you don’t have to select the “Intel x86 Emulator Accelerator (HAXM installer) and click to install the packages to proceed with the download and the “installation”. Once the manager has finished installation, proceed to start again the emulation of your device using the AVD manager.
  • If the problem still exists, that means the Andriod SDK manager does not install automatically the emulator accelerator, therefore you need to start the installation manually.
  • The manager should download the HAXM installer without any problem, so you need to locate the downloaded installer in the Andriod SDK folder.
  • Proceed to execute the installer in administration mode.
  • If your processor does not support the accelerated execution, then you can’t proceed with the emulation with an Intel Atom x86 image.
  • After installation start your emulator again and the emulator should now start without any problem.

Note:

The memory reservation settings can be changed by running the installer again.

11 5 2
3,890 points

Related questions

0 votes
1 answer 15 views
15 views
Problem: I am very new to Android and Haxm. Now I am facing a very inexplicable error. Virtualization is already turned on .I have installed the haxm successfully. Still if I try to run the application then all of sudden the below error is ... requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable. CPU acceleration status: HAX kernel module is not installed!
asked Aug 26, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 87 views
87 views
Problem : Intel i5-2410M CPU is running at 2.30 GHz running the Windows 7 64-bit operating system. I have the VirtualBox 4.13 installed. I am trying to run the ubuntu-14.04-desktop-amd64.iso but I face the below error This kernel requires an x86-64 cpu but only detected ... that tried to use my image again but I still face the same error. Is there any other reason why I am unable to use the image?
asked Jan 14, 2020 jwilliam 3.9k points
0 votes
1 answer 3.1K views
3.1K views
Problem : When I am trying to launch my application in the eclipse 3.7.0 I face below error : “Emulator: warning: restoring gles1 context from snapshot. app may need reloading.” I have ran my application several times with out any error but now I am facing above error. I have already checked the AVD Manager and the platform and my API Levels are correct.
asked Dec 25, 2019 alecxe 7.5k points
0 votes
2 answers 815 views
815 views
Problem : While I was trying to add the virtual device in my Android Studio, Android Studio is Showing me the following Error. Enable vt-x in your bios security settings (refer to documentation for your computer). Please let me know if anybody has any solution on above error message.
asked Dec 4, 2019 alecxe 7.5k points
0 votes
1 answer 23 views
23 views
Problem: I have already spent many days trying to launch my Android program. Even the "Hello World" program gives me the below error: "The connection to adb is down, and a severe error has occurred". I am currently running the Eclipse v3.5 (Galileo) and ... for me. Can someone tell me the magic combination of versions of Eclipse, Java, ADB, emulator, and whatever else which can work together?
asked Aug 5, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 39 views
0 votes
1 answer 15 views
15 views
I am finding the script for getting current time in 24 hour format in android.
asked Oct 4, 2020 Daniel Anderson 4k points
0 votes
1 answer 69 views
69 views
I just forget my Number . So i need to get it by programmatically.
asked Sep 29, 2020 Daniel Anderson 4k points
0 votes
1 answer 19 views
19 views
I am running a photo collage project on Android. I need to know how to implement the collage effect?
asked Sep 25, 2020 Daniel Anderson 4k points
0 votes
1 answer 16 views
16 views
I have a mobile friendly blog. There is different layout i need to set it according android layout. That will fit in all screen sizes? Can any one here show me the path how to do it?
asked Sep 25, 2020 Daniel Anderson 4k points