问题描述
我开发的机器人在Eclipse太阳神。我使用的是最新的ADT插件8.0.1。 previously,我能看见方法的javadoc说明,移动我的鼠标,当在一个方法的名称,并等待约1秒钟。现在,它停止工作由于某种原因。
- 在Eclipse中,右键点击你的Android项目,并选择属性
- 在左边的菜单中,选择Java构建路径
- 在右侧,选择选项卡标记库。
- 在这里,你会看到,你瞄准了Android SDK。例如:Android 2.2的
- 单击箭头到Android SDK的左侧展开子级别。
- 找到的android.jar,然后点击箭头,一个以及左边的展开。
- 您会看到一个名为的Javadoc位置设置。选择,然后点击编辑按钮。
- 在上面,重新选择的路径的javadoc。这通常是path_to_android_sdk / Android的SDK-mac_86 /文档/参考/。我说的重选,因为即使它是正确的,你应该浏览并做到这一点了呢。
- 点击确认。你应该都设置了!
由于它被告知该文章http://hacksoflife.blogspot.com/2011/02/losing-javadocs-in-eclipse-solution.html感谢Chris
有关某种原因,它是加入以D开头的静态Windows操作系统的路径:\ ...这也更正所有SDK的目标。
I am developing for Android in Eclipse Helios. I'm using the latest ADT plugin 8.0.1. Previously, I could see method javadoc description, when moving my mouse over a method name and waiting for about a second. Now it stopped working for some reason.
- In eclipse, right click on your Android project and select Properties
- On the menu on the left, select "Java Build Path"
- On the right hand side, select the "tab" labelled "Libraries".
- Here you should see the Android SDK that you're targeting. For example: "Android 2.2".
- Click on the arrow to the left of the Android SDK to expand the sublevels.
- Find "Android.jar" and click on the arrow to the left of that one as well to expand it.
- You'll see a setting called "Javadoc location". Select that and then click on the "Edit" button.
- At the top, RESELECT the path to your javadocs. This is usually "path_to_android_sdk/android-sdk-mac_86/docs/reference/". I say RESELECT because even if it's right, you should browse and do it over anyway.
- Click on "validate". You should be all set now!
As it is told in this article http://hacksoflife.blogspot.com/2011/02/losing-javadocs-in-eclipse-solution.html Thanks to Chris
For some reason it is adding an static windows OS path starting with D:\...This also correct all SDK targets.
这篇关于我看不到的Android SDK的Javadoc在Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!