初次使用AndroidStudio时,准备 Run app时出现这个错误,根据提示使用SDK manager下载 Intel HAXM仍然有这个问题。

Cannot lanuch AVD in emulator. Outout:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

通过SDK Manager下载IntelHAXM:

原来是下载后还需要手动去安装, 

下载后在路径{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager发现安装文件,点击安装。安装过程中如果会遇到这个情况: Intel Virtulization Technology(VT-x) is not turned on. 需要进入BIOS去enable。

进入BOIS设置Virtualization Technology即可。

enter image description here

参考文档:

  1. http://stackoverflow.com/questions/26355645/error-in-launching-avd-with-amd-processor
  2. 强大的dism.exe工具 http://wenku.baidu.com/link?url=Ys3RzvsjQjD5M-EqOxe1IBDqYhH3zeMilSR50Uu7Q8qU32MPqc3dyElkBFY6mCrrOYJ-8N9L8WLF5XYCbCo2IaTO-bRUAoX4KvxkJu3J2Re

发表评论