AS硬件加速HAXM和 HAX kernel module安裝

Android Studio 1.0 已經放出來了,之後的Android平臺開發激昂逐步從Eclipse向Android Studio遷移,爲了能不落伍我也特地從Google下載了Android Studio的安裝包,而且興高采烈地建立了個人第一個android項目。可是當運行的時候就他麼悲催了。android

BaiduShurufa_2014-12-22_13-56-25

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!

媽 媽的,模擬器竟然啓動不起來!windows

隨隨便便扔出這樣一段話就了事!我就是想開一下模擬器用得着這樣子對我嗎?ide

好吧誰讓我特能忍呢,遷移的路註定不會一路順風。報錯信息告訴我說是 HAXM沒有開,但是「HAXM」究竟是什麼呀?ui

image

這是Inter官網告訴個人,做用是管理硬件加速的,估計是用了這個東西模擬器就能告別Eclipse時代的龜速。this

你也能夠在Inter官網下載這個HAXM,固然Android SDK已經集成了這個軟件,你須要作的就是找到他,而後安裝它就是了。spa

他的位置放在這個目錄下:code

BaiduShurufa_2014-12-22_13-55-38

固然你的位置可能會不同,若是找不到就不必死磕開發了。orm

若是問題就這樣解決了,那也過小兒科了吧;當我雙擊安裝,問題又來了:blog

BaiduShurufa_2014-12-22_13-54-59

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裏面打開就能夠了。

IMG_20141222_143735

IMG_20141222_143452

從新啓動安裝,就成功了!

BaiduShurufa_2014-12-22_14-0-24

BaiduShurufa_2014-12-22_14-44-21

讓咱們看看Android 5.0炫酷的界面吧:

image

相關文章
相關標籤/搜索