問題描述
我剛剛安裝了 Windows 10 周年更新,現在我無法啟動我的 Android 模擬器.
I just installed the Windows 10 anniversary update and now I can't start my Android emulators.
Android Studio 顯示以下消息.
Android Studio shows the following message.
Android Emulator is incompatible with Hyper-V
但如下圖所示,Hyper-V 已禁用.
But as you can see in the following image, Hyper-V is disabled.
我已經重啟了機器.我還嘗試從提升的命令提示符運行以下命令:
I already rebooted the machine. I also tried running the following command from an elevated command prompt:
bcdedit /set hypervisorlaunchtype off
運氣不好.
嘗試從命令提示符啟動模擬器失敗,并顯示以下消息:
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?
推薦答案
我的問題是我有憑據保護和基于虛擬化的安全性.
The problem in my case is that I had Credential Guard and Virtualization Based Security.
我使用 Device Guard 和 Credential Guard 硬件準備工具.
解壓縮工具,在 Powershell 命令中轉到解壓縮工具的文件夾并鍵入:
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
重新啟動后,我能夠重新安裝 HAXM 并啟動我的模擬器.
After rebooting I was able to reinstall HAXM and start my emulators.
這篇關于安裝 Windows 10 周年更新后無法啟動 Android 模擬器的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!