Android Studio, emulator, HAXM, VT-x not working

2019-01-28 22:58发布

问题:

I am trying to use the Android Studio emulator on Windows 10. I can't install the HAXM in the SDK folder because VT-x is not enabled. I tried disabling the Secure Boot Control in the UEFI Firmware Settings. I also tried turning off Hyper-V off in Windows Features on/off. I also tried turning off the hardware visualization setting in Avast. None of these are working and I am still unable to install HAXM.

回答1:

Just follows these steps:

  1. Go to Control Panel → Program and Feature.

  2. Click on Turn Window Features on and off. A window opens.

  3. Uncheck Hyper-V option and restart your system.

Now, you can Start HAXM installation without any error.

Hyper-V is only found in Windows8.

So follow these steps

First of all make sure you enabled Virtualization Technology in your BIOS. After restarting your computer press F1-F12 on your keyboard and find this option.

Make sure you disabled Hyper-V in your Windows 7/Windows 8. You can turn it off in Control Panel -> Programs -> Windows functions



回答2:

Even after enabling the VT in BIOS, Android studio wouldn't detect it. The solution that worked for me was to do a cold reboot (power off the PC completely, i.e. when you restart it after you change BIOS setting for VT, shut it down again, unplug it from the mains to power off the motherboard and power on again after 10 secs. For laptops, I guess you'd need to take off the battery and plug it back). I have Asus MB.