无法在模拟器中启动 AVD。 VCPU 关闭请求

Cannot launch AVD in emulator. VCPU shutdown request

运行 在 kaby lake 7500u 上,启用虚拟化,禁用超线程。

重新安装 android studio 2.2,安装了 HAXM 6.0.4。

我有预感这可能是 kaby lake 处理器的问题,因为 遇到了与我相同的问题并且恰好使用的是 i5 7200。

不会模拟简单的 hello world 应用程序。生成了以下错误代码:

Cannot launch AVD in emulator.
Output:
Hax is enabled
Hax ram_size 0x60000000
HAX is working and emulator runs in fast virt mode.
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
EAX=00748cea EBX=5ffadb60 ECX=00000000 EDX=00000000
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
VCPU shutdown request
ESI=00000000 EDI=00000000 EBP=00000000 ESP=00006d38
EIP=5ffb6921 EFL=00010082 [--S----] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
CS =0008 00000000 ffffffff 00c09b00 DPL=0 CS32 [-RA]
SS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
DS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
FS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
GS =0010 00000000 ffffffff 00c09300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 

我的笔记本 运行 kaby lake 7500u 也有同样的问题。 问题最有可能来自HAXM。

我设法让它工作的唯一方法是启动到 ubuntu。 (对大多数人来说不是真正的解决方案)带有 Ubuntu/KVM 的 Kaby Lake 7500u 按预期工作。

更新:这是 HAXM 中的错误。英特尔正在努力

https://code.google.com/p/android/issues/detail?id=226174

我遇到了完全相同的问题。我能找到的唯一解决方案是使用名为 Bluestacks 的 android 模拟器。请注意,Bluestacks 必须 运行 在 android studio 启动之前才能在 运行 您的应用

时显示在虚拟机列表中。

希望对您有所帮助

确实是HAXM和Intel第7代处理器的bug

新的 HAXM 6.0.5 修复了这个问题:https://code.google.com/p/android/issues/detail?id=226174#c51