Android Studio模擬器啓動工程時報錯:HAX kernel module is not installed!

 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 快了不少!

相關文章
相關標籤/搜索