Android Studio 1.0 已经放出来了,之后的Android平台开发激昂逐步从Eclipse向Android Studio迁移,为了能不落伍我也特地从Google下载了Android Studio的安装包,而且兴高采烈地建立了个人第一个android项目。可是当运行的时候就他么悲催了,一启动模拟器就开始报错:android
错误信息:windows
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!android-studio
报错信息告诉我说是 HAXM没有开,但是“HAXM”究竟是什么呀?ide
查阅了Inter官网,HAXM的做用是管理硬件加速的,估计是用了这个东西模拟器就能告别Eclipse时代的龟速。测试
你也能够在Inter官网下载这个HAXM,固然Android SDK已经集成了这个软件,你须要作的就是找到他,而后安装它就是了。ui
我本地的HAXM放在这个目录下:this
C:\Users\***zongchao\AppData\Local\Android\android-studio\sdk\extras\intel\Hardware_Accelerated_Execution_Managerspa
直接双击intelhaxm-android.exe 安装便可,但是安装过程当中问题又来了:安装报错,提示错误信息以下:orm
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里面打开就能够了!
从新启动安装,问题解决!测试模拟器,果真比Eclipse 快了不少!