Eclipse没有显示类和方法信息的java文档,如何附加这些信息?+android[英] Eclipse dont have java doc to show information about class and methods. how to attach those? +android



我是 在Eclipse Holies环境下工作.但是我的日食没有帮助我在编写代码时找到有关类或方法的细节.
例如: toast android.widget.toast.maketext(上下文上下文,char sequence文本,int持续时间)

如果我鼠标鼠标悬停在 makeText()上,则在上述语句中获取以下信息




如果您已将ADT插件安装到Eclipse,则应确保您下载按照Android SDK 2.2的文档下载的包装,称为某些内容, API 8,修订版1" 或其他. . href =""

如果您已经完成了这一切,则 .

例如,这就是我的库路径的外观: weee!

去检查一下您的外观.包括正常Javadocs的位置(SDK Path/docs/reference/)

如果您也要添加源代码,请参见: -source/浏览android-source-in-in-in-in-in-in-



I'm working on android under eclipse holies environment. but my eclipse not helping me to find detail about class or method while writing code.
Ex: Toast android.widget.Toast.makeText(Context context, CharSequence text, int duration)

if i mouse hover on makeText() in above statement, getting following information

Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc

where and what do i need to attach?


If you have installed the ADT plugin to Eclipse then you should make sure that you download the package called something along the lines of "Documentation for Android SDK 2.2, API 8, revision 1" or whatever. Have you gone through the entire installation guide for the Android SDK as posted on the official website? this is the one I'm talking about. It's been discussed on SO before as well: JavaDoc in an Eclipse Android Project

If you have done all this, then does a good job of explaining how to add Sources & Javadocs to existing Libraries in case something went wrong.

For example, this is how my Libraries path looks: Weee!

Go check and see how yours looks. Included is the location for the Javadocs normally (SDK Path/docs/reference/)

If you want to add the source code as well, see: &