Can't start Android emulator after installing Windows 10 Anniversary update
I just installed an update for Windows 10 and now I am unable to launch my Android emulators.
Android Studio displays the following message.
Android Emulator is incompatible with Hyper-V
But as you can see in the following image, Hyper-V is disabled.
I have already rebooted the machine. I also tried running the following command from an elevated command prompt:
bcdedit /set hypervisorlaunchtype off
Bad luck.
A test run of the emulator from the command line failed 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 faced this problem?
source to share
In my case, the problem is that I had credential protection and virtualization protection.
I disabled the mentioned Windows 10 features using Device Readiness Tool Guard and Credential Guard .
Unzip the tool, in the Powershell command navigate 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.
source to share
You can turn off Hyper-V from the services menu (enter Services under Search) and also use the Services menu to turn it on. Even though it might not be necessary, I still reboot after doing this.
EDIT: And also did you run Command Prompt as Administrator?
EDIT2: reinstall Intel HAXM as @Morrison_Chang says
source to share