Android Studio安裝及常見錯誤

來源:互聯網
上載者:User

Android Studio安裝及常見錯誤
Android Studio 1.0 已經放出來了,以後的Android平台開發激昂逐步從Eclipse向Android Studio遷移,為了能不落伍我也特意從Google下載了Android Studio的安裝包,並且興高采烈地建立了我的第一個android項目。但是當啟動並執行時候就他麼悲催了。

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官網告訴我的,作用是管理硬體加速的,估計是用了這個東西模擬器就能告別Eclipse時代的龜速。

你也可以在Inter官網下載這個HAXM,當然Android SDK已經整合了這個軟體,你需要做的就是找到他,然後安裝它就是了。

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

當然你的位置可能會不一樣,如果找不到就沒必要死磕開發了。

如果問題就這樣解決了,那也太小兒科了吧;當我雙擊安裝,問題又來了:


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裡面開啟就可以了。

重新啟動安裝,就成功了!

讓我們看看Android 5.0炫酷的介面吧:

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.