Windows – Android emulator is incompatiable with Hyper-V in Android Studio (no Hyper-V installed)

android-studiowindows 10

Recently, I am using Android Studio to develop an app, but Android emulator can not work. It always displays the problem:

Android emulator is incompatible with Hyper-V

However I have turned off Hyper-V in program feature, but it is still a problem. I've been stuck on this for whole week.

Would anyone know how to fix this error?

Best Answer

If you're running Windows 10 in an enterprise environment, there's a chance the problem could be new "virtualization based security" features in Windows. If Device Guard or Credential Guard are enabled on your machine, that machine is using Hyper-V's hypervisor.

To check if that's the case, follow the instructions on this page or use the Device Guard and Credential Guard hardware readiness tool. Copied and pasted:

  1. Click Start, type msinfo32.exe, and then click System Information.
  2. Click System Summary.
  3. Confirm that Credential Guard is shown next to Device Guard Security Services Running.

Typically, these features are enabled via Group Policy. If that's actually the root cause of the issue, you'll need to work within your organization to opt out of those policies.

One final note -- I do not recommend disabling Intel VT-x (as suggested by Will P), as I believe HAXM (the hypervisor used by the Android emulator) requires VT-x.

Full disclosure -- I work at Microsoft on the Hyper-V team.

Related Question