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

耗尽温柔 提交于 2019-11-28 10:20:21

问题


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.




回答3:


I have enabled virtualisation technology (Hyper-V does not exist in my windows 7) but without any success. what worked for me is installing v7.4.1 instead of the latest version v7.5.2 (at the time I am writing this answer)



来源:https://stackoverflow.com/questions/32913121/android-studio-emulator-haxm-vt-x-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!