我用的是带有AMD处理器的Windows 8.1 pro。我安装了Android SDK和Eclipse。它可以工作,但问题是,当我创建AVD并启动时,它会显示这个错误:
模拟器:错误:x86仿真目前需要硬件加速! 请确保Intel HAXM已正确安装并可用。 CPU加速状态:HAX内核模块未安装!
我已经安装了英特尔Hardware_Accelerated_Execution_Manager,我已经从引导菜单中启用了虚拟调制,但它仍然不起作用。
我用的是带有AMD处理器的Windows 8.1 pro。我安装了Android SDK和Eclipse。它可以工作,但问题是,当我创建AVD并启动时,它会显示这个错误:
模拟器:错误:x86仿真目前需要硬件加速! 请确保Intel HAXM已正确安装并可用。 CPU加速状态:HAX内核模块未安装!
我已经安装了英特尔Hardware_Accelerated_Execution_Manager,我已经从引导菜单中启用了虚拟调制,但它仍然不起作用。
当前回答
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.
显示模拟器窗口可能需要一到两分钟。
其他回答
我最近也遇到了同样的问题。
我在你的SDK管理器上安装了HAXM安装程序:
然后安装最新的Intel HAXM驱动程序:
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement
瞧! !模拟器的工作就像一个魅力:)
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.
显示模拟器窗口可能需要一到两分钟。
首先,你必须在BIOS中启用Intel虚拟化技术:
第二,导航到您的SDK…\extras\intel\Hardware_Accelerated_Execution_Manager:
然后安装intelhaxm-android.exe。
注意,如果你在目录中找不到这个文件,请确保从SDK管理器中安装这个包:
如果你使用的是Mac,就像@pedro提到的,确保你已经通过Android SDK管理器下载了HAXM安装程序。
接下来安装它!在查找器中导航到/YOUR_SDK_PATH/extras/intel/Hardware_Accelerated_Execution_Manager/
运行并安装。mpgk到下面的。dmg
约塞米蒂:IntelHAXM_1.1.0_for_10.10.dmg Pre-yosemite: IntelHAXM_1.1.0_below_10.10.dmg El Capitan: IntelHAXM_6.0.1。请安装IntelHAXM_6.0.1。MPGK文件-它会问你是否要重新安装它。只要答应就好。
例子:
$ cd / YOUR_SDK_PATH /配件/英特尔/ Hardware_Accelerated_Execution_Manager / 打开IntelHAXM_1.1.0_below_10.10.dmg美元
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.