存在的 AVD 不会在“目标选项卡”中列出。

发布于 2024-09-03 10:44:03 字数 346 浏览 3 评论 0原文

我正在使用模拟器 Android 2.1 和 Eclipse。几天来,我让模拟器工作……能够调试……我创建了 2 个 AVD,并正在使用其中之一。今天早些时候,我不得不将我的课程转移到另一个包中。自从我这样做之后,我所拥有的配置就消失了。所以现在我必须创建配置 - 我选择 Android 应用程序,然后单击新建 - 为其命名为 TestPrjCfg - 当我转到“目标”选项卡时 - 我看到“没有可用的 AVD”,但是当我单击管理器时,我看到列出了两个 AVD 。我厌倦了在“目标”选项卡中刷新 - 现有的 AVD 没有显示。我使用了 Manager 并创建了第三个 AVD,但也没有帮助。请让我知道我在这里缺少什么?我应该怎么做才能使现有的 AVD 显示在“目标”选项卡中?

I am using emulator Android 2.1 with Eclipse. For few days I had the emulator working ... was able to debug... I had 2 AVDs created and was using one of them. Earlier today I had to move my classes to a different package. Ever since I did that the configuration that I had has disappeared . So now I had to create configuration - I select Android Application and then click New - gave it a name TestPrjCfg - when I go to the "Target" tab - I see "No AVD available" but when I click manager I see two AVDs listed. I tired refresh in the "Target" tab - the existing AVDs do not show up. I used the Manager and created a third AVD that did not help either. Please let me know what am I missing here? What should I do so that the existing AVDs showup in the "Target" tab?

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

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

发布评论

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

评论(1

满天都是小星星 2024-09-10 10:44:03

我修复了它 - 该项目与 AVD 不兼容。
AVD 支持平台 2.1/API 级别 7,而该项目选择了“Google API”——我认为“Google API”也包括该平台——无论如何,我想这是一个不同的讨论。

这是控制台中的消息,可帮助我确定原因
...
[2010-06-01 16:42:44 - testprj]未能找到与目标“Google API”兼容的 AVD。
[2010-06-01 16:43:16 - testprj]仍然没有与目标“Google API”兼容的 AVD:正在中止启动。
[2010-06-01 16:43:16 - testprj]执行 com.aie.testpk.TestStartsHere 活动启动
....

I fixed it - The project was not compatible with the AVD.
The AVD supported Platform 2.1/API level 7, whereas the project had "Google APIs" selected - I thought "Google APIs" includes the platform too - anyway that is a different discussion I guess.

here is the message in the Console that help me identify the reason
...
[2010-06-01 16:42:44 - testprj]Failed to find an AVD compatible with target 'Google APIs'.
[2010-06-01 16:43:16 - testprj]Still no compatible AVDs with target 'Google APIs': Aborting launch.
[2010-06-01 16:43:16 - testprj]Performing com.aie.testpk.TestStartsHere activity launch
....

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