为Android 4.0创建AVD时出错 [英] Error creating AVD for Android 4.0

查看:109
本文介绍了为Android 4.0创建AVD时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建新的4.0 AVD并收到此错误:

I''m trying to create a new 4.0 AVD and getting this error:

[2011-11-27 15:48:27 - SDK Manager] Unable to find a ''userdata.img'' file for ABI armeabi to copy into the AVD folder.


我已经检查了AVD管理器,并安装了"ARM EABI v7a系统映像",我重新启动了机器,仍然遇到相同的错误.
有谁知道这是怎么回事?!!


I''ve checked the AVD manager and I have ''ARM EABI v7a System Image'' installed, I''ve restarted the machine and still getting the same error.
Does anyone know what''s wrong ?!!

推荐答案

无法找到供ABI armeabi复制到AVD文件夹的"userdata.img"文件. "尝试为目标平台4.0.3创建AVD时,

这是您应该做的.

发生此错误的原因是,自Android 4(API级别14)以来,userdata.img文件的位置已更改.因此,我们需要重新安装ARM EABI软件包.请按照以下步骤操作

参考:http://tech.thecoolblogs.com/2012/01/unable-to-find-userdataimg-file-for-abi.html#ixzz1rPnd4oNL
步骤


1)打开Eclipse并单击运行配置"(向下拉运行或调试"按钮旁边的箭头).

步骤2)选择"Android应用程序",然后单击新建"

步骤3)选择目标"选项卡,然后选择自动"(即使选中它,并且禁用了下面的列表框,也请再次单击它.

步骤4)点击管理器..."按钮

步骤5)在所有"Android 4.0.X"部分中,选中"ARM EABI v7a系统映像"复选框

步骤6)点击安装X软件包..."按钮

现在应该一切都准备好了

再次尝试创建AVD,它应该可以正常工作

参考:http://tech.thecoolblogs.com/2012/01/unable-to-find-userdataimg-file-for-abi.html#ixzz1rPnWYvPq
Unable to find a ''userdata.img'' file for ABI armeabi to copy into the AVD folder." when trying to create an AVD for target platform 4.0.3,

here is what you should do.

This error is happening because the location of userdata.img file has changed since Android 4 (API Level 14). So we need to reinstall the ARM EABI package. Follow the below steps

Reference: http://tech.thecoolblogs.com/2012/01/unable-to-find-userdataimg-file-for-abi.html#ixzz1rPnd4oNL
Step


1) Open Eclipse and click on Run Configurations (pull down the arrow next to the Run or Debug button).

Step 2) Select "Android Application" and click "New"

Step 3) Select the "Target" tab and select "Automatic" (Click once more even it is selected and the list box below is disabled"

Step 4) Click on the "Manager..." button

Step 5) In all the "Android 4.0.X" sections, select "ARM EABI v7a System Image" checkbox

Step 6) Click the "Install X Package..." button

You should be all set now

Try creating the AVD again, it should work fine

Reference: http://tech.thecoolblogs.com/2012/01/unable-to-find-userdataimg-file-for-abi.html#ixzz1rPnWYvPq


修复链接

无法找到ABI的"userdata.img"文件将其复制到AVD文件夹中. [ ^ ]

编辑

关于如何运行Android 4.0(冰淇淋三明治)的完整指南PC [ ^ ](分步操作)
Fix link

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

EDIT

Complete Guide About How To Run Android 4.0 (Ice Cream Sandwich) On PC[^](Step by Step)


如果您的android sdk完整并且成功地蚀了您所说的话,那么它显示此错误,然后按照下面提到的步骤进行操作.
1运行您的eclipse转到"Window + AVD Manager",它会提示一个
窗口 AVD管理器(Android虚拟设备管理器)
2单击右侧"AVD管理器"窗口上的新建"按钮,它将再次提示
窗口名称创建新ADV"
3现在假设测试"和
在名称"文本框中为该名称提供任何有效的名称 然后从下拉菜单中选择目标"作为"Android版本(最新版本
是安装在您的系统上)-API级别编号(写在此处,请选择它)"
前任. "Android 4.1.2 -API级别16"
4现在从下拉列表中选择"CPU/ABI"作为ARM(armeabi -v7a)Ex. "ARM(armeabi -v7a)"
5现在单击创建AVD"底部的按钮,它将在AVD Mangaer上发送您
在那边,您会看到您的AVD名称,在本例中为"Test",如我们所给出的
以上,仅在成功创建AVD之后.
6现在,通过单击AVD名称(或Test)来选择AVD名称(在本例中为测试")
当您完成此操作时,您会看到它突出显示了
上的选项按钮的分配处于活动状态 AVD管理器中的右侧,例如编辑",删除",详细信息",开始"在
之间 新建和刷新按钮
7在这里,选择AVD名称后单击开始按钮,表示测试
在我们的情况下,它将提示一个窗口,该窗口是启动选项"窗口
现在,单击后单击底部的启动"按钮即可启动
您的仿真器现在等待一会儿,您将看到功能齐全的仿真器.

喜欢它!
If You have intall android sdk and eclipse successfully As you are saying and then it shows this error then follow the steps mentioned below.
1 run your eclipse goto "Window+AVD Manager" click on it,it will prompt a window of
AVD Manager(Android Virtual Device Manager)
2 click new button on AVD manager window on right hand side",it will again prompt a
window name "create new ADV"
3 now give any valid name to that in "Name" textbox suppose "Test" and
then select "target" from drop down Menu as option "Android version(latest which
is install on ur system)-API Level No.(this are written there so select it)"
Ex. "Android 4.1.2 -API Level 16"
4 now select "CPU/ABI" from dropdown as ARM(armeabi -v7a) Ex. "ARM(armeabi -v7a)"
5 now click on button at the bottom "create AVD" it will send u on the AVD Mangaer
over there u will see your AVD name which is "Test" in our case,as we have given
above,just after successfully creation of AVD.
6 now select AVD name which is "Test" in our case by clicking on the AVD name(or Test)
when u done this u will see it get highlighted allot of option button is active on
the right hand side in the AVD mangager like Edit, Delete,Detail,Start in between
New And Refresh button
7 here click on the Start button after selection of your AVD Name which mean Test
in our case and it will prompt a window which is "Launch Option" in this window
now click on the "launch" botton at the bottom after clicking it will start
your emulator now wait a while and you will see your emulator in full-fledged.

Enjoyed it!!!


这篇关于为Android 4.0创建AVD时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆