Android清单文件和放大器; activies - 没有日食吮吸还是我失去了一些东西? [英] android manifest file & activies - does eclipse suck or am I missing something?
问题描述
我见过很多人有问题,因为他们不活动添加到清单文件。我从这个遭受自己。这似乎是这样一个简单/常见的问题但我不知道我应该如何去弄清楚在Eclipse IDE中。就是Eclipse的调试输出完全无用或者是有什么我失踪?
I've seen a number of people have problems because they don't add the activity to the manifest file. I've suffered from this myself. This seems like such a simple/common problem yet I have no clue how I'm supposed to figure that out from the eclipse IDE. Is the debugging output of eclipse totally useless or is there something I'm missing?
推荐答案
实际上,你可以发现,如果你正在查看的logcat
在 DDMS
的Eclipse -Tab。如果你还没有加入它,它抛出一个 ActivityNotFoundException
或类似的异常,甚至会询问是否有人记念给actitivy添加到清单。
You can actually find that out if you're viewing logcat
in the DDMS
-tab of Eclipse. If you haven't added it, it throws an ActivityNotFoundException
or similar exception, and even asks if one remembered to add the actitivy to the manifest.
这篇关于Android清单文件和放大器; activies - 没有日食吮吸还是我失去了一些东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!