安装 Windows 10 周年更新后无法启动 Android 模拟器

Can#39;t start Android emulator after installing Windows 10 Anniversary update(安装 Windows 10 周年更新后无法启动 Android 模拟器)

本文介绍了安装 Windows 10 周年更新后无法启动 Android 模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 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 模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:安装 Windows 10 周年更新后无法启动 Android 模拟器

基础教程推荐