Android 如何为 ABI armeabi 创建或查找“userdata.img”文件以复制到 AVD 文件夹中

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10039616/
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-08-20 02:17:10  来源:igfitidea点击:

How do you create or find a "userdata.img" file for ABI armeabi to copy into the AVD folder

androideclipseavd

提问by TechnoGerman

I am running the Hello World Android SDK test on Eclipse. After I installed the latest platform for Android SDK I tried to create an AVD.

我正在 Eclipse 上运行 Hello World Android SDK 测试。在我为 Android SDK 安装了最新的平台后,我尝试创建一个 AVD。

In Eclipse:

在日食中:

  1. Selected Window > AVD Manager.
  2. Click New....
  3. The Create New AVD dialog appears.
  4. Type the name of the AVD, such as "my_avd".
  5. Choose a target.(latest platform)
  6. Ignore the rest of the fields.
  7. Click Create AVD.
  1. 选择的窗口 > AVD 管理器。
  2. 单击新建....
  3. 出现创建新 AVD 对话框。
  4. 输入 AVD 的名称,例如“my_avd”。
  5. 选择目标。(最新平台)
  6. 忽略其余字段。
  7. 单击创建 AVD。

But when I returned to Eclipse I got a red error message saying:

但是当我返回 Eclipse 时,我收到一条红色错误消息:

"unable to find a "userdata.img" file for ABI armeabi to copy into the AVD folder.

"unable to find a "userdata.img" file for ABI armeabi to copy into the AVD folder.

I have a windows vista 64 bit, Eclipse 3.7.2, and Android platform 4.0.3. If anyone could please help me, I really appreciate it. If you might have an idea of what I might be doing wrong I am all ears. :)

我有一个 Windows Vista 64 位、Eclipse 3.7.2 和 Android 平台 4.0.3。如果有人可以帮助我,我真的很感激。如果您可能知道我可能做错了什么,我会全神贯注。:)

Here is what I have been trying to do http://developer.android.com/resources/tutorials/hello-world.html

这是我一直在尝试做的http://developer.android.com/resources/tutorials/hello-world.html

回答by 5hssba

Click on Android SDK manager in eclipse.. Then in Android 4.0.x your version.. click on ARM EABI v7A System Image.. and click on Install package..

在 eclipse 中点击 Android SDK manager.. 然后在 Android 4.0.x 你的版本.. 点击 ARM EABI v7A System Image.. 然后点击 Install package..

It should work then...

那么它应该工作......

回答by longi

just for the record: i had the same error and couldn't solve the issue with the tipps here. in the end i found out, that i didn't made a choice in the CP/ABI dialog after creating a new device with the avd manager.. (this field was left open in a tutorial i found....)

仅供记录:我遇到了同样的错误,无法解决这里的小费问题。最后我发现,在使用 avd 管理器创建新设备后,我没有在 CP/ABI 对话框中做出选择..(这个字段在我发现的教程中保持打开状态......)

Actually, Need to Android 4.0.x your version.. click on ARM EABI v7A System Image.. and click on Install package.. as per Raju.

实际上,需要 Android 4.0.x 你的版本.. 点击 ARM EABI v7A System Image.. 然后点击 Install package.. 按照 Raju。

After that I followed the advice of making sure that I filled out the CPU/ABI field and then all was good.

在那之后,我遵循了确保我填写了 CPU/ABI 字段的建议,然后一切都很好。

回答by user3455575

if you have installed "ARM EABI v7A System Image",still didn't work then try "android update avd -n h" in shell(h is the name of my android virtual device,repalce it with your specific avd name)

如果您已经安装了“ARM EABI v7A System Image”,仍然无法正常工作,那么在 shell 中尝试“android update avd -n h”(h 是我的 android 虚拟设备的名称,用您的特定 avd 名称替换它)