Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HAXM error but vt-x is enabled

When I am installing Intel HAXM I have the following error:

This computer meets the requirements for HAXM, but Intel Virtualization technology (VT-x) is not turned on. HAXM cannot be installed until VT-x is enabled.

So, I have checked my BiOS, VT-x is supported, and I enabled Intel virtualization (it wasn't before). I also have checked if it was really enabled with the Intel virtualization technology detection tool (Intel Processor Identification Utility) and it says:

Intel(R) Virtualization Technology - Yes

BUT when I try again to install HAXM I have the same error as the beginning of my message. Someone has an idea?

like image 269
Manny Avatar asked Nov 30 '22 00:11

Manny


2 Answers

There's also the NX, XD bit setting.
bcdedit /set nx AlwaysOn
Make sure you use the Haxm from the web site instead of using the one downloaded through Android Studio). https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager
If you're using Avast, disable "Enable hardware-assisted virtualization" under: Settings > Troubleshooting.

like image 137
codecats Avatar answered Dec 04 '22 12:12

codecats


.. avast I hate you :)

Solved the problem, it was Avast. If you have the same error check Avast.

settings tab -> troubleshooting : uncheck "enable hardware-assisted virtualization"

Have a nice day guys ;)

like image 29
Manny Avatar answered Dec 04 '22 12:12

Manny