“无法找到 ABI armeabi 的 userdata.img 文件...”
我再一次犯了用最新的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(12)
在我意识到新创建的
AVD
保存在用户文件夹(用户foo
)C:\HOME\foo
和 Android 插件中后解决了问题试图在C:\Users\foo
中找到它们。我已经设置了环境变量(这将更改保存 avd 文件夹)。
由于您现在更改了保存位置,因此请确保再次创建 AVD。
这解决了问题,我认为正确的方法是设置查找文件夹,但不知道如何更改它。
Solved a problem after I realized that newly created
AVDs
were being saved in user folder (userfoo
)C:\HOME\foo
and Android plugin was trying to find them inC:\Users\foo
.I have set environment variable (this will change save avd folder).
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.
即使删除并重新安装该软件包后,我也遇到了同样的错误。我查看了 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 :)
可以通过运行以下命令从命令行解决:
It can be solved from command line by running:
我在使用命令行时遇到了同样的问题。
我通过将文件复制
到
也许您需要首先创建文件夹 images来修复它
I had the same problem when using the command line.
I fix it by copying the files under
into
Maybe you need to create first the folder images
就我而言,它与 " 相关即使安装了映像,也没有为此目标安装系统映像。
在这个答案之后,我移动了
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 toc:\adt\sdk\system-images\android-23\x86
, and after that I got the error:On a hunch, I created a symlink/junction to the original folder, and it worked. I used this:
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.
检查突出显示的部分是否已安装。
如果已安装,您可以在 CPU 下找到它。选择它并单击 create avd
Check the highlighted part is installed or not..
if it is installed you can find this under CPU.. Select it and click create avd
步骤 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
发生此错误的原因是自 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
从 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
我遇到了同样的问题,这就是我解决它的方法:
在 Eclipse 中:
祝你好运!!
I had the same problem and this is how I solved it:
In Eclipse:
Good luck!!
现在使用 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.
实际上,您仍然需要在Android SDK管理器底部的Extras中安装Google USB Driver。
Actually, you still need to install Google USB Driver in Extras in the bottom of Android SDK manager.