3

I just installed the Windows 10 anniversary update and now I can't start my Android emulators.

Android Studio shows the following message.

Android Emulator is incompatible with Hyper-V

But as you can see in the following image, Hyper-V is disabled.

Android Studio error

I already rebooted the machine. I also tried running the following command from an elevated command prompt:

bcdedit /set hypervisorlaunchtype off

No luck.

Tried launching the emulator from a command prompt fails with the following message:

emulator -avd Nexus_5_API_23
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot.

Has anyone run into this issue?

8
  • 1
    Have you tried reinstalling HAXM? Commented Aug 16, 2016 at 20:48
  • Looks like you are not alone: software.intel.com/en-us/forums/… Commented Aug 16, 2016 at 20:59
  • Mmm... that looks related to my issue.
    – ricalo
    Commented Aug 17, 2016 at 15:28
  • 1
    HAXM reinstall to 6.0.3 fixed the problem in my case.
    – Buthrakaur
    Commented Aug 22, 2016 at 20:06
  • 1
    Sorry for the late response. I checked in another machine and 6.0.3 works okay. I have to use Docker in the original machine so I have to install Hyper-V anyway. I'll mark the only answer as accepted. Thanks to @MorrisonChang for providing the solution.
    – ricalo
    Commented Aug 23, 2016 at 16:21

2 Answers 2

3

The problem in my case is that I had Credential Guard and Virtualization Based Security.

I disabled the mentioned Windows 10 features using Device Guard and Credential Guard hardware readiness tool.

Unzip the tool, in a Powershell command go to the folder where you unzipped the tool and type:

DG_Readiness_Tool_v2.0.ps1 -Disable

After rebooting I was able to reinstall HAXM and start my emulators.

1

You can turn off Hyper-V in the services menu (type "Services" in the Search thingy), and also use the Services menu to turn it back on. Even though it may not be necessary I still reboot after doing it this way.

EDIT: And also did you run Command Prompt as Admin?

EDIT2: Reinstall Intel HAXM, as @Morrison_Chang says

1
  • all Hyper-V services are stopped. I already tried rebooting after disabling/uninstalling Hyper-V. I ran the Command Prompt as Admin. Still no luck.
    – ricalo
    Commented Aug 16, 2016 at 20:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.