简体   繁体   English

为什么我不能创建android虚拟设备?

[英]why i cannot create android virtual device?

this issue is a bit similar to Cannot Create Android Virtual Device , the difference is that i am trying to create AVD on windows rather than ubuntu, one more difference is that i can create android 2.2 and 2.3 AVD without error, but failed to create ADV 4.x , why? 这个问题有点类似于无法创建Android虚拟设备不同之处在于我试图在Windows而非ubuntu 上创建AVD另一个区别是我可以无错误地创建android 2.2和2.3 AVD但是创建ADV失败4.x ,为什么?

i have sdk and api installed for 4.x, anyhow . 无论如何,我已经为4.x安装了sdk和api

[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.

You have to install ARM EABI v7a System Image for creating emulators from Android 4.0 onwards. 您必须安装ARM EABI v7a System Image才能从Android 4.0开始创建仿真器。 You can install the image using Android SDK Manager 您可以使用Android SDK Manager安装映像

@rIHaN JiTHiN already gave the answer. @rIHaN JiTHiN已经给出了答案。 But as a follow up I put a screen capture to show what we are talking of. 但是,作为后续,我放了一个屏幕截图以显示我们在说什么。

In the given screen capture I haven't installed the "ARM EABI v7a System Image" for Android 4.2, whereas I have installed "ARM EABI v7a System Image" and "Intel x86 Atom System Image" for Android 4.1.2 在给定的屏幕截图中,我没有为Android 4.2安装“ ARM EABI v7a系统映像”,而我已经为Android 4.1.2安装了“ ARM EABI v7a系统映像”和“英特尔x86 Atom系统映像”

EDIT/FOLLOW UP 编辑/跟进

What I show in the picture is for Android 4.2, but is true for every versions of Android. 我在图中显示的是针对Android 4.2的,但对于所有版本的Android都是如此。

If you are developing for MIPS CPU devices you have to install the "MIPS System Image". 如果要为MIPS CPU设备开发,则必须安装“ MIPS系统映像”。

Finally, you could have to restart eclipse to see the new installed images. 最后,您可能必须重新启动eclipse才能看到新安装的映像。 But for me, I always restart a software which I updated to be sure it takes into account all the modifications, and I assume it is a good practice to do so. 但是对于我来说,我总是重新启动更新的软件,以确保它考虑到所有修改,并且我认为这样做是一种好习惯。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM