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

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

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


当前回答

我在Oracle VirtualBox中运行模拟器时遇到了这个问题。对我来说,解决方案是修改模拟器使用ARM CPU而不是x86。

其他回答

我在Oracle VirtualBox中运行模拟器时遇到了这个问题。对我来说,解决方案是修改模拟器使用ARM CPU而不是x86。

对于AMD处理器:

转到AVD管理器并创建一个新的虚拟设备作为ARM系统映像。

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.

对于AMD处理器:

您不需要Genymotion,只需创建一个新的虚拟设备,并在选择系统映像时选择ABI为armeabi,而不是默认的x86。

首先,你必须在BIOS中启用Intel虚拟化技术:

第二,导航到您的SDK…\extras\intel\Hardware_Accelerated_Execution_Manager:

然后安装intelhaxm-android.exe。

注意,如果你在目录中找不到这个文件,请确保从SDK管理器中安装这个包: