简体   繁体   English

AVD 编辑 AVD 时没有为此目标安装系统映像

[英]AVD no system images installed for this target when editing AVD

I have a working AVD.我有一个可用的 AVD。 I tried some edits to it.我尝试了一些编辑。

  • When I changed the Device from No device selected to Nexus One , options were available in the CPU/ABI dropdown list.当我将DeviceNo device selected更改为Nexus One 时CPU/ABI下拉列表中选项可用。

  • When I changed it to Android TV (1080p) , the CPU/ABI dropdown was disabled and its value was changed to No system images installed for this target .当我将其更改为Android TV (1080p) 时CPU/ABI下拉列表被禁用,其值更改为No system images installed for this target

  • When I changed it back to Nexus One , the dropdown remains disabled and its value remained to be No system images installed for this target .当我将其改回Nexus One 时,下拉菜单仍处于禁用状态,其值仍为No system images installed for this target

Can anybody tell me what is happening here?谁能告诉我这里发生了什么?

Please help me.请帮我。 Thanks.谢谢。

After SDK Update I had the same problems with API Level 19 and in my case restarting eclipse solved it. SDK 更新后,我在 API 级别 19 上遇到了同样的问题,在我的情况下,重新启动 eclipse 解决了它。

In case if it doesn't如果没有

For some reason, in the sdk/system-images/android-19 directory, sub-folders with system images (armeabi-v7a and x86) were placed within "default" directory.出于某种原因,在sdk/system-images/android-19目录中,带有系统映像(armeabi-v7a 和 x86)的子文件夹被放置在"default"目录中。 I just moved them into android-19 directory (if eclipse is running at the same time, you will have to restart it).我只是将它们移到android-19目录中(如果 eclipse 正在同时运行,则必须重新启动它)。

Goto sdk\\system-images and open the folder of the current API you are using (eg. android-19 folder in your case).转到sdk\\system-images并打开您正在使用的当前 API 的文件夹(例如,在您的情况下为android-19文件夹)。 Now you'll find a folder named 'default' , open it and you'll see the folder named 'armeabi-v7a' or which ever system image you've installed.现在您将找到一个名为'default'的文件夹,打开它,您将看到名为'armeabi-v7a'的文件夹或您安装的系统映像。 Now move the folder 'armeabi-v7a' to the directory sdk\\system-images ...ie simply out of the 'default' folder.现在将文件夹'armeabi-v7a'移到目录sdk\\system-images ...即简单地移出'default'文件夹。

在此处输入图片说明

That's it.就是这样。

If you are trying to emulate an android tv, you must have an appropriate system image for it.如果您要模拟 android 电视,则必须为其准备合适的系统映像。 Try to look for the corresponding image in your sdk manager.尝试在您的 sdk 管理器中查找相应的图像。 In your case, the system image which you require is Android TV ARM EABI v7a System Image or ANDROID TV Intel x86 Atom System Image .在您的情况下,您需要的系统映像是Android TV ARM EABI v7a System ImageANDROID TV Intel x86 Atom System Image They are available from android 5.0 packages.它们可从 android 5.0 包中获得。

Once you have downloaded and installed them, you won't get such a message as No system images installed for this target .下载并安装它们后,您将不会收到No system images installed for this target 之类的消息。 And then, you will be able to create an AVD for android tv as you wish.然后,您将能够根据需要为 android 电视创建 AVD。

The following image may help you more.下面的图片可能对你有更多帮助。 Here, the system images are visible under Android 5.1 .在这里,系统映像在Android 5.1下可见。 You may also find them under Android 5.0.1 as I have mentioned earlier.正如我之前提到的,您也可以在Android 5.0.1下找到它们。

SDK 管理器 - 图像

Note: Ensure that the Updates/New checkbox is checked in your sdk manager.注意:确保在您的 sdk 管理器中选中了Updates/New复选框。 If it is not checked, you may not get notified about android 5.0 packages if don't have them already in your packages list.如果没有选中它,如果您的软件包列表中没有它们,您可能不会收到有关 android 5.0 软件包的通知。 Hope you understand what I am saying.希望你明白我在说什么。


PostScript: I have no idea about your Nexus One issues. PostScript:我不知道你的 Nexus One 问题。 Please add some more details to your question, if anything more you have done.如果您还做了什么,请在您的问题中添加更多详细信息。 It will be helpful for the answerer.对回答者有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM