HAXM installation fails claiming VT-X not present

2019-03-11 17:03发布

问题:

I'm having difficulties trying to install HAXM for my emulator in Android Studio. I have an hp2000 notebook; I updated Windows 8.1 to Windows 8.1 Pro to activate the Hyper-V feature and I even went to system settings to enable virtualization, but am still getting "This computer does not support Intel virtualization (VT-x). HAXM cannot be installed. Please refer to the Intel HAXM documentation for more information."

My Android Studio SDK manager is showing that it's installed.

回答1:

Just follows these steps:

Go to Control Panel → Program and Feature. Click on Turn Window Features on and off. A window opens. Uncheck Hyper-V option and restart your system. Now, you can Start HAXM installation without any error.

Hope this works @Keis



回答2:

This procedure worked perfectly for me. Hope this helps.

  1. F10 (Computer Set Up) - BIOS - Security -System Security -Enter - Virtual Technology (VTX)-Enable-FileSave and Exit
  2. Goto sdk Folder: F:\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager Run intelhaxm-android.exe
  3. You should be seeing a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard. Click the Finish Button to exit the wizard"

Once this works, open android studio, and try running the emulator. You should be seeing "HAX is working and emulator runs in fast virt mode"



回答3:

After enabling the virtulization in-bios do hard restarting via power button solved my problem:). I read in intel blog to do so. So try this option it may help:)



回答4:

You must have an Intel processor that supports virutalization and ND bit on. You can check http://ark.intel.com to tell.
to set ND bit you can use bcdedit /set nx AlwaysOn
to set virtualization properly once enabled in BIOS you can type
bcdedit /set hypervisorlaunchtype off
If you're using Avast
disable "Enable hardware-assisted virtualization" under Settings > Troubleshooting)
Get the download from
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager



回答5:

well, i turned off hyper-v on optional windows components (saim's suggestion). enabled virt in bios. then i went to find the haxm reinstall, and only found this file, C:\Users\ich\AppData\Local\Temp\intel\HAXM\1.1.1\silent\hax64.msi (i have a 64 bit box), ran it, and android studio 1.5.1 is happy. windows 10. hope that helps.



回答6:

You can enable Intel Virtualization Technology from BIOS or if you dont have installed Emulator Acceleator(HAXM) you should install.



回答7:

For Windows 10, first of all install the intelhaxm-android.exe located in this folder: SDK\extras\Intel\Hardware_Accelerated_Execution_Manager. If it gives error during installation then try these solutions.

  1. First all enable the virtualization from BIOS setting. To enable this restart the computer, when the computer starts then press ESC. Then select the F2 if the manufacturer is Dell.

  2. Even if you have enabled the Virtualization(VT) in BIOS settings, some antivirus options prevent HAXM installation.

For example: In Avast antivirus under Settings (parametres) tab > Troubleshooting (depannage), you should uncheck "Enable Hardware-assisted Virtualization" ("activer l'assistance a la virtualisation").

Now restart your computer and re-install the Intel's HAXM which can be found under ~SDK_LOCATION\extras\intel\Hardware_Accelerated_Execution_Manager. You can also manually download the standalone HAXM installer from Intels website.

  1. Check that hyper-v is disabled. To disable it go to the Control Panel then select the Programs --> Program and Features--> Turn windows Feature on or off (located on left side). Then find the HYPER-V. Uncheck the check box and restart the computer and try to install the hxm again.

  2. Go to properties of "This PC" by right clicking on it then select the Advance System Settings (located on left side) then in Advance (tab) under performance click the Setting button. Then select the Data Execution Prevention (tab), then select this option turn on the DEP for all programs and services except those I select and restart the computer, and try to install the hxm.

Solution no 3 worked for me.



回答8:

  1. Turn off your PC and turn it back on, then instantly hit F10 or the ESC button (whichever works for you) - it will enter you into the BIOS

  2. Use the arrow keys to enter into System Security

  3. Ensure VIRTUAL TECHNOLOGY VTX is checked, then hit F10 to save, and reboot your computer

  4. Now press the Windows key on your keyboard and just type Hyper-V; then click on the top appearing result

  5. Uncheck Hyper-V from there

  6. Now go to the path where you have saved your sdk folder - by default it is saved in C:\

  7. Go to C:\Android\sdk\extras\intel\ and run Hardware_Accelerated_Execution_Manager, then run intelhaxm-android.exe

  8. If it shows a dialog box which quotes, "Completed Intel Hardware Accelerated Execution Manager Set Up Wizard", click the finish button to exit the wizard

  9. Open Android Studio again, run your app, and if it doesn't show your virtual devices then click on the small refresh button on the bottom right.



回答9:

I was having a similar problem. It worked out that I hadn't got the HAXM-Installer installed on my PC.

To do this go to: Tools -> Android -> SDK Manager -> SDK Tools (Tab) -> Check the Intel x86 Emulator Accelerator (HAXM installer) option then click apply (As shown in the image below).

Android SDK Manager (Image)