Intel HAXM installation error - This computer does

2019-01-02 22:56发布

I have an issue with my HAXM installation. Here is the thing. I got this error every single time I tried to install HAXM for my computer: Installation error print-screen

Problem is, that my computer supports Virtualization Technology (see pic below). Any idea how to fix this issue? enter image description here

13条回答
Bombasti
2楼-- · 2019-01-02 23:16

After I installed Visual Studio 2013 Update 2, Visual Studio notified me about a Windows Phone emulator update, which I installed (it was really a new component, not an update). It turned out this enabled Hyper-V, which broke HAXM.

The solution was to uninstall the emulator from Programs and Features and to turn off Hyper-V from Windows Features (search for "Windows Features" and click "Turn Windows features on or off").

查看更多
放荡不羁爱自由
3楼-- · 2019-01-02 23:20

Anti-virus software may interfere with the HAXM installation. After trying to figure out what went wrong for a few hours I found a strange solution - uninstalling my anti-virus software , installing HAXM (which worked) and then re-installing the anti-virus software (Avast in my case but it could happen with other anti-virus programs as well.

The full check I went through to get this running is:

  1. Check the 'Virtualization' and vt-X feature in the BIOS.
  2. Verifying Hyper-V is not installed.
  3. Checking weather vt-X is enabled in windows with the Intel tool and MS tool (mentioned in previous posts in this thread).
  4. Disabling the anti-virus which didn't help.
  5. Uninstalling the anti-virus (which solved the problem for me).
查看更多
smile是对你的礼貌
4楼-- · 2019-01-02 23:21

In the "Turn Windows features on or off" window, un-check Hyper-V and also ensure that Windows Hypervisor Platform is unchecked. Windows Hypervisor Platform being enabled can also block the installation of the Intel HaxM

Features to be disabled

查看更多
Lonely孤独者°
5楼-- · 2019-01-02 23:21

In many cases some antivirus also start HyperV with window start and does not allow HAXM to install. I faced this issue because of AVAST antivirus. So I uninstalled AVAST, then HAXM installed properly after restart. Then I re-installed AVAST.

So its just a check while installing as now even with AVAST installed back, HAXM works properly with virtual box and android emulators.

查看更多
唯我独甜
6楼-- · 2019-01-02 23:21

If you have an AMD Ryzen processor in your computer you need the following setup requirements to be in place:

  1. AMD Processor - Recommended: AMD® Ryzen™ processors
  2. Android Studio 3.2 Beta or higher - download via Android Studio Preview page
  3. Android Emulator v27.3.8+ - download via Android Studio SDK Manager
  4. x86 Android Virtual Device (AVD) - Create AVD
  5. Windows 10 with April 2018 Update
  6. Enable via Windows Features: "Windows Hypervisor Platform"

Note:There is Hyper-V features... You should enable Windows Hypervisor Platform not Hyper-V. Windows Hypervisor Platform is at the bottom

After conditions done avd x86 work without haxm install

查看更多
一夜七次
7楼-- · 2019-01-02 23:23

Seems like the list of fixes is growing, even after 3 years since the original question.

Below is the full list for Windows (so far as of circa 12/2018)

  1. Check BIOS

    • go into BIOS/UEFI setup and look for settings like VT-x, VT-d, Virtualization Technology, Hardware Virtualization and make sure it is Enabled. If the option is not there, check with your manufacturer and model to make sure it is supported.
  2. Disable Hyper-V

    • Type 'windows features' into start menu, select 'Turn Windows Features On or Off'.
    • Unselect all Hyper-V related options, press OK, Reboot.
    • This will break any Hyper-V VMs you have, including any Windows Phone emulators and anything else you have setup that requires Hyper-V
    • Reboot Required
    • on an admin command prompt, run systemifo. If it shows 'hypervisor is detected' under Hyper-V requirements, even after removing Hyper-V feature, you may have 'Core Isolation' enabled. See below on how to disable it.
    • As another option, try enabling 'Windows Hypervisor Platform' if you still want your Hyper-V support. More info here
  3. AMD Ryzen ?

    • If your CPU is AMD Ryzen, you may need to enable 'Windows Hypervisor Platform' feature just like you disabled Hyper-V above.
    • If it is enabled and still things don't work, try disabling it. ¯\_(ツ)_/¯
    • Reboot required
  4. Disable Antivirus
    • Try disabling your antivirus.
    • AVAST! and a few others interfere with the detection of virtualization. You can enable them after.
    • AVAST and some others also has some options that uses virtualization based isolation. Either disable them or temporally uninstall your AV.
  5. Disable Core Isolation

    • Clean installs of Windows 10 1803 enables Core Isolation by default, which runs secure processes inside a virtualized container for security. This interferes with the detection of virtualization.
    • Machines that upgraded from an earlier version have this disabled, but check anyway.
    • Go to Windows Defender Security Center
    • Device Security > Core Isolation > details
    • Disable Memory Integrity
    • Reboot
  6. Disable hypervisor launch at boot

    • on an admin command prompt, run bcdedit /set hypervisorlaunchtype off
    • reboot
    • to revert run bcdedit /set hypervisorlaunchtype auto and reboot
  7. Nothing works

    • You shouldn't get here, since Android emulator can now run alongside with Hyper-V if you have 'Windows Hypervisor Platform' is enabled.
    • If nothing above works, as a last resort you can try running Android in a Hyper-V VM and get ADB to connect to it. (Not a solution, but a workaround)
    • You can also run android using a third-party emulator like Genimotion.
  8. ¯\_(ツ)_/¯

Edits/New fixes welcome.

hope this helps

查看更多
登录 后发表回答