2012-09-26 178 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

相关问题