我用的是带有AMD处理器的Windows 8.1 pro。我安装了Android SDK和Eclipse。它可以工作,但问题是,当我创建AVD并启动时,它会显示这个错误:

模拟器:错误:x86仿真目前需要硬件加速! 请确保Intel HAXM已正确安装并可用。 CPU加速状态:HAX内核模块未安装!

我已经安装了英特尔Hardware_Accelerated_Execution_Manager,我已经从引导菜单中启用了虚拟调制,但它仍然不起作用。


当前回答

的输出需要读取(并发布)

sc query intelhaxm

如http://developer.android.com/tools/devices/emulator.html#accel-vm所述

通过右键单击开始菜单打开命令提示窗口,选择执行并写入'cmd'。

参见Android模拟器不使用HAXM。

如果你不能让模拟器工作,你可能想尝试一个更简单的选择:Genymotion - http://genymotion.com/

其他回答

Open SDK Manager and download Intel x86 Emulator Accelerator (HAXM installer) if you haven't. Now go to your SDK directory (C:\users\username\AppData\Local\Android\sdk, generally). In this directory, go to extras → Intel → Hardware_Accelerated_Execution_Manager and run the file named "intelhaxm-android.exe". In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled", go to your BIOS settings and enable hardware virtualization. Restart Android Studio and then try to start the AVD again.

显示模拟器窗口可能需要一到两分钟。

While creating a Virtual Device select the ARM system Image. Others have suggested to install HAXM, but the truth is haxm wont work on amd platform or even if it does as android studio does not supports amd-vt on windows the end result will still be a very very slow emulator to run and operate. My recommendation would be to either use alternative emulator like Genymotion (works like a charm with Gapps installed) or switch to linux as then you will get the benefit of amd-vt and emulator will run a lot faster.

对于那些使用基于Jetbrains的Android Studio的人来说:

Goto Tools > Android > SDK管理器 在Extras—>下选择Intel x86 Emulator accelerator复选框

对于那些不能使用Nexus AVD的人,也可以尝试使用Generic AVD。

Goto工具> Android > AVD经理

然后用QVGA之类的东西创建一个新的通用AVD,用于你的应用。这个AVD不使用硬件加速。

首先,你应该启用虚拟化,你可以从BIOS设置。

然后进入控制面板\程序,点击“打开或关闭Windows功能”选项。

现在您将看到一个弹出窗口,选中“Windows Hypervisor Platform”,并通过选中复选框启用它。

重新启动你的电脑,现在AVD应该工作没有任何问题。

我不知道这是否有效,但你可以试试这个:

很明显,模拟器团队需要更好地传播关于如何在Windows上使用AMD模拟器的信息。这个问题似乎每周都会出现。

首先,卸载HAXM。

下一步,进入https://developer.android.com/studio/run/emulator-acceleration#vm-windows,按照使用Windows Hypervisor平台配置虚拟机加速的说明操作

最后,如果你的模拟器实例帧率很低,请参考同一页中为Android UI启用Skia渲染的说明。