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!

分类:软件问题| 发布:佚名| 查看: | 发表时间:2016/3/4

在安装ADT(android development tools)安装开发工具时,提示如下错误:

Android Studio 1.0 已经放出来了,以后的Android平台开发激昂逐步从Eclipse向Android Studio迁移,为了能不落伍我也特意从Google下载了Android Studio的安装包,并且兴高采烈地创建了我的第一个android项目。但是当运行的时候就他么悲催了。

Please ensure Intel HAXM is properly installed and usable

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!

但是,模拟器居然启动不起来!

报错信息告诉我说是 HAXM没有开,可是“HAXM”到底是什么呀?

Inter官网下载这个HAXM

这是Inter官网告诉我的,作用是管理硬件加速的,估计是用了这个东西模拟器就能告别Eclipse时代的龟速。

你也可以在Inter官网下载这个HAXM,当然Android SDK已经集成了这个软件,你需要做的就是找到他,然后安装它就是了。

他的位置放在这个目录下:

Hardware_Accelerated_Execution_Manager

当然你的位置可能会不一样,如果找不到就没必要死磕开发了。

如果问题就这样解决了,那也太小儿科了吧;当我双击安装,问题又来了:

Hardware_Accelerated_Execution_Manager

this computer meets the requirements for haxm but intel virtualization technology(VT-x) is not turned onHAXM cannot be installed until VT-x is enable 
please refer to the intel HAXM documentation for more information

好吧,继续寻求帮助Inter官方的教程有这样一段话:连接地址:https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows

Intel VT-x not enabled

In some cases, Intel VT-x may be disabled in the system BIOS and must be enabled within the BIOS setup utility. To access the BIOS setup utility, a key must be pressed during the computer’s boot sequence. This key is dependent on which BIOS is used but it is typically the F2, Delete, or Esc key. Within the BIOS setup utility, Intel VT may be identified by the terms "VT", "Virtualization Technology", or "VT-d." Make sure to enable all of the Virtualization features.

意思是如果安装失败了,那多半是BIOS里面的“Virtualization Technology”选项没有打开,去BIOS里面打开就可以了。

BIOS里Virtualization Technology

BIOS里开启Virtualization Technology

重新启动安装,就成功了!

cmd执行sc query intelhaxm

HAX is working and emulator runs in fast virt mode

让我们看看Android 5.0炫酷的界面吧:

Android 5.0炫酷的界面

365据说看到好文章不转的人,服务器容易宕机
原创文章如转载,请注明:转载自郑州网建-前端开发 http://camnpr.com/
本文链接:http://camnpr.com/software-wiki/2259.html