Android 应用程序未显示在 AVD 中

发布于 2024-09-01 04:01:54 字数 218 浏览 2 评论 0原文

我最近开始摆弄 Android 应用程序,但在尝试将它们放入虚拟设备进行测试时却遇到了问题。由于某种原因,它们似乎从未出现在 AVD 中。它曾经工作过一次,但那只是花费了几个小时来尝试测试一两个非常简单的应用程序。

我已经重做了 AVD 设置很多很多次,尝试了不同的设置,但都无济于事。我已经遵循了多个指南和教程来使其正常工作,但它们只是拒绝出现在列表中。 :(

任何见解将不胜感激,谢谢。

I recently started messing with Android Apps, but I have had nothing but problems trying to get them into the Virtual Device for testing. For some reason, they never seem to show up in the AVD. It has worked one time, but that's it out of hours spent just trying to test one or two very simple apps.

I've redone the AVD setup many, many times, trying different settings and what not to no avail. I've followed multiple guides and tutorials to the letter to get it working, but they just refuse to show up in the list. :(

Any insight would be appreciated, thank you.

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

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

发布评论

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

评论(1

才能让你更想念 2024-09-08 04:01:54

我会首先测试已知可以工作的应用程序。这里有大约六十个

特别是,我会从这个开始。不要改变任何东西。不要将其导入到 Eclipse 中。只需安装 Apache Ant(如果尚未安装),然后在运行模拟器的情况下在项目目录中运行 ant install 即可。

这要么显示在您的模拟器中,要么不显示。

如果没有,请尝试重新安装整个 SDK。

如果确实如此,那么您就知道您的基础环境没有问题,并且您可以开始慢慢确定差异以找出问题所在。

现在很难帮助您,因为您的症状有点普遍。可能是您正在使用 Eclipse 并且 Eclipse 出现问题。可能是您的 adb 守护进程有问题。可能是您的清单中没有任何活动,因此应用程序实际上正在安装,但启动器中没有图标。等等。

I would start by testing apps that are known to work. Here are sixty or so of them.

In particular, I would start with this one. Do not change anything. Do not import it into Eclipse. Just install Apache Ant (if you haven't already), and run ant install in the project directory with your emulator running.

Either this shows up in your emulator, or it does not.

If it does not, try reinstalling the entire SDK.

If it does, then you know that your base environment is OK, and you can start slowly determining the differences to figure out where things are going wrong.

Helping you is difficult right now because your symptoms are a bit generic. It could be that you are using Eclipse and Eclipse is having a problem. It could be that your adb daemon is having a problem. It could be that you don't have any activities in your manifest, so the application is actually installing but there are no icons in the launcher. And so on.

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