eclipse 无法创建 Android 虚拟设备

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8378457/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:24:44  来源:igfitidea点击:

Cannot Create Android Virtual Device

androideclipseimageavd

提问by Kevin

When I attempt to create a new adv, I get the following error message:

当我尝试创建一个新的 adv 时,我收到以下错误消息:

Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.

I know that many people receive this error when the image is not installed on the sdk, but I am positive mine is.

我知道当图像没有安装在 sdk 上时,很多人会收到这个错误,但我很肯定我的是。

I am currently working on a linux os (Ubuntu 11.04) and everything works perfectly.

我目前正在使用 linux 操作系统(Ubuntu 11.04)并且一切正常。

I think I might have something in the wrong directory?

我想我可能在错误的目录中有一些东西?

In my /opt dir I have the android sdk folder with the Android 4.0 image, and also the eclipse folder I am working in.

在我的 /opt 目录中,我有包含 Android 4.0 映像的 android sdk 文件夹,以及我正在使用的 eclipse 文件夹。

Is there a location that I need to copy the image file to?

是否有需要将图像文件复制到的位置?

Thanks!

谢谢!

回答by Sanandrea

Go to eclipse->Window->Android Sdk Manager. If you are using android 4.0(API 14) you have to install also ARM eabi v7 System image. Have a try

转到 eclipse->Window->Android Sdk Manager。如果您使用的是 android 4.0(API 14),则还必须安装 ARM eabi v7 系统映像。试试

For reference here is my config.ini in case you want to replace yours:

参考这里是我的 config.ini 以防你想替换你的:

hw.lcd.density=240 
sdcard.size=512M 
skin.name=WVGA800 
skin.path=platforms\android-14\skins\WVGA800 
hw.cpu.arch=arm 
abi.type=armeabi-v7a 
hw.cpu.model=cortex-a8 
vm.heapSize=72 
snapshot.present=false 
hw.ramSize=512 
image.sysdir.1=system-images\android-14\armeabi-v7a\