2012-09-26 75 views
0

這個問題類似於Cannot Create Android Virtual Device差的一點是,我試圖在Windows,而不是Ubuntu的創建AVD,一個更加不同的是,我可以創造的Android 2.2和2.3 AVD沒有錯誤,但失敗了創建ADV 4.x,爲什麼?爲什麼我無法創建android虛擬設備?

我有sdk和API安裝4.x,總之

[2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-10_r02': Unable to find base platform with API level '10' 
[2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-11_r01': Unable to find base platform with API level '11' 
[2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-12_r01': Unable to find base platform with API level '12' 
[2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-13_r01': Unable to find base platform with API level '13' 
[2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-5_r01': Unable to find base platform with API level '5' 
[2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-6_r01': Unable to find base platform with API level '6' 
[2012-09-26 13:01:40 - SDK Manager] Warning: Ignoring add-on 'google_apis-7_r01': Unable to find base platform with API level '7' 
[2012-09-26 13:02:16 - SDK Manager] Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder. 
+0

你得到像「未能分配內存:8」的錯誤? –

回答

6

您必須安裝ARM EABI v7a System Image才能從Android 4.0開始創建模擬器。您可以使用安裝圖像Android SDK Manager

+0

什麼是eabi,爲什麼eabi需要android 4.0?並且它不需要早期版本的android? – hugemeow

+0

請參閱http://stackoverflow.com/questions/7990446/what-is-the-use-of-arm-eabi-v7a-system-image-in-android – JiTHiN

3

@rIHaN JiTHiN已經給出了答案。但作爲後續,我放了一個屏幕截圖來顯示我們正在談論的內容。

在給定的屏幕截圖中,我沒有爲Android 4.2安裝「ARM EABI v7a System Image」,而我爲Android 4.1.2安裝了「ARM EABI v7a System Image」和「Intel x86 Atom System Image」

編輯/跟進

我顯示的圖片是Android 4.2,但真正爲Android三種版本。

如果您正在爲MIPS CPU設備開發,則必須安裝「MIPS系統映像」。

最後,您可能必須重新啓動eclipse才能看到新安裝的圖像。但對我而言,我總是重新啓動一個我更新的軟件,以確保它考慮了所有的修改,並且我認爲這是一個很好的做法。

enter image description here

+0

你已經救了我的命。這篇文章是我真正需要解決這個問題的。 –

+0

這很酷,如果它有幫助 – HpTerm

相關問題