简体   繁体   English

无法创建Android虚拟设备

[英]Cannot Create Android Virtual Device

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 sdk文件夹和Android 4.0图像,还有我正在使用的eclipse文件夹。

Is there a location that I need to copy the image file to? 我需要将图像文件复制到的位置吗?

Thanks! 谢谢!

Go to eclipse->Window->Android Sdk Manager. 转到eclipse-> Window-> Android Sdk Manager。 If you are using android 4.0(API 14) you have to install also ARM eabi v7 System image. 如果您使用的是Android 4.0(API 14),则还必须安装ARM eabi v7系统映像。 Have a try 试试

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\ 

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

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