Hyper-V and HAXM

2.9k views Asked by At

I am brand new to the Android development scene, but I am eager to learn. I was working on installing Android Studio when I saw that HAXM could not install because VT-X was not enabled. Some quick googling saw that I had to first disable Hyper-V and then I would be able to install HAXM? I am wondering if it is OK to disable Hyper-V in order to install HAXM and whether I can or should re-enable it after installation of HAXM. Is this the right way to install this? Do I need Hyper-V enabled?

4

There are 4 answers

8
Vedran Kopanja On BEST ANSWER

Only one virtualization can be active at a time. I would try disabling Hyper-V then try installing and using HAXM.

0
Nick P On

Right, I figured I had to enable Intel virtualization from the BIOS. I've got the emulator working now! Thanks for the help!

0
Jaime On

Both, Hyper-V and HAXM are hypervisors used to run virtual machines. You must decide which must be enabled depending on what you want to run on your laptop.

  • You need Hyper-V if you want to use the Android Emulators provided by Microsofr, run Virtual Machines on Hyper-V, use Windows Containers, use Docker for Windows, use Vagrant with Hyper-V or Docker, or use any other application that requires it.
  • You cannot enable Hyper-V if you want to run VirtualBox or use Vagrant with VirtualBox
  • You need HAXM if you want to accelerate the execution of the Android emulator (and you do not have Hyper-V and you do not use Virtualbox at the same time).
0
Sandeep Singh On

I had the same problem with a similar processor, core i3, in my VAIO laptop. VT was also enabled on the BIOS and the problem was fixed when I uninstalled the avast anti-virus(no disabling the protection) and so I could finish the HAMX installation. After that, I installed the Avast software again.

I hope this issue can help more people.