android studio建立模擬器報錯解決 emulator: ERROR: This AVD's configuration is missing a kernel file!!

來源:互聯網
上載者:User

標籤:python培訓   android開發   android studio   kernel   

android studio建立模擬器報錯 emulator: ERROR: This AVD‘s configuration is missing a kernel file!! 的解決辦法

原因有二:1 沒有,解決辦法通過sdk mangager 下載

                  2 找不到,解決辦法看系統內容變數path(此種情況多數發生在android Studio和EclipseADT同時存在的情況下)


原因是在剛剛安裝完畢的androidstudio的sdk目錄下沒有system-image目錄,也許有但沒有相應的核心映像檔案,解決辦法是開啟sdk manager更新,如果開發人員想類比api21的android作業系統,需安裝api21的system image,見  

安裝完畢後如下所示


看看sdk目錄下有麼有?


有了,便可建一個android模擬器了


啟動吧


經過漫長的等待



題外話:有時候通過sdk manager下載了這些system image 後,的確也有這些映像檔案,但還是報錯missing a kernel file!!,請先看看androidstudio的sdk目錄是否在系統變數path裡?missing有的時候是說找不到,而不是沒有。(如果在你的電腦上即裝了androidstudio又裝了eclipseADT多半是path出問題了)

最好把tools和platform-tools目錄也放在path裡。  







android studio建立模擬器報錯解決 emulator: ERROR: This AVD's configuration is missing a kernel file!!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.