“无法找到 ABI armeabi 的 userdata.img 文件...”

发布于 2024-12-31 23:33:58 字数 494 浏览 1 评论 0原文

我再一次犯了用最新的 Android SDK/工具更新 Eclipse 的错误,并且使它变得毫无用处。

在 Mac 上运行 Eclipse。

当我尝试创建 AVD 时,它告诉我“无法找到 ABI armeabi 的 userdata.img 文件”。我已阅读此处所有类似的问题,这些问题告诉我转到“运行/运行配置”并确保下载了最新的“ARM EABI v7a 系统映像”。我已经这么做了。我已经重新启动了我的机器。还是没有喜悦。

FWIW 我并不是想创建一个 4.x 模拟器;只是2.3.3。更新:我可以成功创建一个 2.2 模拟器,其参数(屏幕大小、存储卡大小、内存等)与我尝试 2.3.3 时相同。另外,我可以使用这些参数成功创建 4.x 模拟器。只是不是 2.3.3。

我再次阅读了所有类似的问题。我所做的似乎已经解决了几个运行 Win7 的开发人员的问题。其他问题以有人说“我现在正在下载文件”结束,但没有更新它是否有效。就我而言,下载文件后,我发现行为没有变化。

感谢您的任何帮助。

Once again I've made the mistake of updating Eclipse with the latest Android SDK/tools and have rendered it useless.

Running Eclipse on a Mac.

When I try to create an AVD it tells me it is "unable to find a userdata.img file for ABI armeabi". I've read all the similar questions here that tell me to go to Run/Run Configurations and make sure I have the latest "ARM EABI v7a System Image" downloaded. I've done that. I've restarted my machine. Still no joy.

FWIW I'm not trying to create a 4.x emulator; just 2.3.3. UPDATE: I can successfully create a 2.2 emulator with all the same parameters (screen size, storage card size, memory, etc.) as I was trying for 2.3.3. Also, I can successfully create a 4.x emulator with those parameters. Just not 2.3.3.

Again, I've read all the similar questions. Doing what I did seems to have solved the problem for several developers running Win7. Other questions end with someone saying, "I'm downloading the file now" but no update as to whether it worked or not. In my case, after downloading the file I see no change in behavior.

Thanks for any help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(12

花开雨落又逢春i 2025-01-07 23:33:59

在我意识到新创建的 AVD 保存在用户文件夹(用户 fooC:\HOME\foo 和 Android 插件中后解决了问题试图在 C:\Users\foo 中找到它们。

我已经设置了环境变量(这将更改保存 avd 文件夹)。

ANDROID_SDK_HOM=C:\Users\foo

由于您现在更改了保存位置,因此请确保再次创建 AVD。

这解决了问题,我认为正确的方法是设置查找文件夹,但不知道如何更改它。

Solved a problem after I realized that newly created AVDs were being saved in user folder (user foo) C:\HOME\foo and Android plugin was trying to find them in C:\Users\foo.

I have set environment variable (this will change save avd folder).

ANDROID_SDK_HOM=C:\Users\foo

Make sure you create your AVD again since you have changed save location now.

That solved a problem, I assume the proper way would be to set look-up folder but could not figure out how to change that.

っ〆星空下的拥抱 2025-01-07 23:33:59

即使删除并重新安装该软件包后,我也遇到了同样的错误。我查看了 sdk 文件夹,发现图像一直在

...\sdk\system-images\android-10\x86\images\x86

下查看 PAI 17 图像已存储,我复制了该目录中的所有内容并将其移动到

...\sdk\system-images\android-10\x86

现在它工作正常:)

I was getting the same erorr, even after deleting and re-installing that package. I looked at the sdk folder, and found that the images were all the way under

...\sdk\system-images\android-10\x86\images\x86

Looking at thow the PAI 17 images were stored, I copied everything in that directory and moved it to

...\sdk\system-images\android-10\x86

Now it works fine :)

盛夏尉蓝 2025-01-07 23:33:59

可以通过运行以下命令从命令行解决:

update sdk -u -a -t android-16,sysimg-16

It can be solved from command line by running:

update sdk -u -a -t android-16,sysimg-16
流殇 2025-01-07 23:33:59

我在使用命令行时遇到了同样的问题。

我通过将文件复制

...\sdk\system-images\android-X\armeabi-vY\

...\sdk\platforms\android-X\images

也许您需要首先创建文件夹 images来修复它

I had the same problem when using the command line.

I fix it by copying the files under

...\sdk\system-images\android-X\armeabi-vY\

into

...\sdk\platforms\android-X\images

Maybe you need to create first the folder images

醉酒的小男人 2025-01-07 23:33:59

就我而言,它与 " 相关即使安装了映像,也没有为此目标安装系统映像

这个答案之后,我移动了c:\adt\sdk\system-images\android-23\default\ x86 上一个文件夹到 c:\adt\sdk\system-images\android-23\x86,之后我收到错误

Unable to find a userdata.img file for ABI armeabi...

:预感,我创建了一个到原始文件夹的符号链接/连接,并且它起作用了。我用的是这个:

mklink /j "c:\adt\sdk\system-images\android-23\default\x86" "c:\adt\sdk\system-images\android-23\x86"

只是你在两个文件夹中都需要它。我使用了连接而不是简单地复制文件夹,以免浪费空间。

In my case it was related to "No system images installed for this target" even though Image is installed.

Following this answer, I moved c:\adt\sdk\system-images\android-23\default\x86 up one folder to c:\adt\sdk\system-images\android-23\x86, and after that I got the error:

Unable to find a userdata.img file for ABI armeabi...

On a hunch, I created a symlink/junction to the original folder, and it worked. I used this:

mklink /j "c:\adt\sdk\system-images\android-23\default\x86" "c:\adt\sdk\system-images\android-23\x86"

It's just that you need it in both folders. I used a junction instead of simply copying the folder so as not to waste space.

温柔一刀 2025-01-07 23:33:58

在此处输入图像描述

检查突出显示的部分是否已安装。

如果已安装,您可以在 CPU 下找到它。选择它并单击 create avd

在此处输入图像描述

enter image description here

Check the highlighted part is installed or not..

if it is installed you can find this under CPU.. Select it and click create avd

enter image description here

你的往事 2025-01-07 23:33:58

步骤 1) 打开 Eclipse 并单击“运行配置”(下拉“运行”或“调试”按钮旁边的箭头)。

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

步骤 3) 选择“目标”选项卡,然后选择“自动”(即使选中,也单击一次,并且下面的列表框被禁用”

步骤 4)单击“ Manager...”按钮

步骤 5) 在所有“Android 4.0.X”部分中,选择“ARM EABI v7a System Image”复选框

步骤 6) 单击“Install X Package...”按钮

参考:http://tech.thecoolblogs.com /2012/01/无法找到用户数据img-file-for-abi.html#ixzz1u2EMZGt7

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

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

独自唱情﹋歌 2025-01-07 23:33:58

发生此错误的原因是自 Android 4(API 级别 14)以来 userdata.img 文件的位置已更改。所以我们需要重新安装ARM EABI包。按照以下给出的步骤进行操作
http://tech.thecoolblogs.com /2012/01/unable-to-find-userdataimg-file-for-abi.html

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 steps given at
http://tech.thecoolblogs.com/2012/01/unable-to-find-userdataimg-file-for-abi.html

独享拥抱 2025-01-07 23:33:58

从 android 4.0 的 sdk 管理器安装 ARM EABI img 你的问题将得到解决

Install the ARM EABI img from the sdk manager for android 4.0 your problem will be solved

眼眸印温柔 2025-01-07 23:33:58

我遇到了同样的问题,这就是我解决它的方法:

在 Eclipse 中:

  1. Window > Android SDK Manager
  2. 选择ARM EABI v7a System Image
  3. Install package
  4. Done。您现在应该能够创建 AVD。

祝你好运!!

I had the same problem and this is how I solved it:

In Eclipse:

  1. Window > Android SDK Manager
  2. Select ARM EABI v7a System Image
  3. Install package
  4. Done. You should be able to create your AVD now.

Good luck!!

方觉久 2025-01-07 23:33:58

现在使用 Android 4.1 (API 16),请确保在 Android SDK 管理器中安装 ARM EABI v7a 系统映像。这在 Mac OSX 上的 Eclipse Indigo 中完美运行。

Now with Android 4.1 (API 16), make sure you install the ARM EABI v7a System Image in the Android SDK Manager. This works perfectly in Eclipse Indigo on Mac OSX.

标点 2025-01-07 23:33:58

实际上,您仍然需要在Android SDK管理器底部的Extras中安装Google USB Driver

Actually, you still need to install Google USB Driver in Extras in the bottom of Android SDK manager.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文