我正在运行OSX 10.10.3
我正在尝试制作AVD,但我遇到了问题.
我按照这些说明http://developer.android.com/tools/devices/managing-avds-cmdline.html和http://cordova.apache.org/docs/en/5.0.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide
我跑
$android create avd -n first -t 2 --abi default/x86
Android 5.1.1 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Error: Unable to find a 'userdata.img' file for ABI x86 to copy into the AVD folder.
Error: AVD not created.
我安装了许多sdks和图像,但无论出于何种原因,avd创建工具都无法找到它们.我该如何解决?
这就是我的sdk manger的样子
解决方法:
看起来您的答案在屏幕截图中显示:“除非您首先为API 22安装Google API Intel Atom系统映像,否则此AVD可能无效.”
你说你已经安装了“许多sdks和图像”但请确认你已经安装了那个问题.
此外,您可以尝试使用armeabi系统映像而不是x86系统映像创建avd.
此外,Google API与“普通”SDK目标具有不同的系统映像.
原文地址:https://codeday.me/bug/20190623/1273999.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。