本文介绍了我看不到的Andr​​oid SDK的Javadoc在Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发的机器人在Eclipse太阳神。我使用的是最新的ADT插件8.0.1。 previously,我能看见方法的javadoc说明,移动我的鼠标,当在一个方法的名称,并等待约1秒钟。现在,它停止工作由于某种原因。

解决方案
  1. 在Eclipse中,右键点击你的Andr​​oid项目,并选择属性
  2. 在左边的菜单中,选择Java构建路径
  3. 在右侧,选择选项卡标记库。
  4. 在这里,你会看到,你瞄准了Android SDK。例如:Android 2.2的
  5. 单击箭头到Android SDK的左侧展开子级别。
  6. 找到的android.jar,然后点击箭头,一个以及左边的展开。
  7. 您会看到一个名为的Javadoc位置设置。选择,然后点击编辑按钮。
  8. 在上面,重新选择的路径的javadoc。这通常是path_to_android_sdk / Android的SDK-mac_86 /文档/参考/。我说的重选,因​​为即使它是正确的,你应该浏览并做到这一点了呢。
  9. 点击确认。你应该都设置了!

由于它被告知该文章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.

解决方案
  1. In eclipse, right click on your Android project and select Properties
  2. On the menu on the left, select "Java Build Path"
  3. On the right hand side, select the "tab" labelled "Libraries".
  4. Here you should see the Android SDK that you're targeting. For example: "Android 2.2".
  5. Click on the arrow to the left of the Android SDK to expand the sublevels.
  6. Find "Android.jar" and click on the arrow to the left of that one as well to expand it.
  7. You'll see a setting called "Javadoc location". Select that and then click on the "Edit" button.
  8. 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.
  9. 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.

这篇关于我看不到的Andr​​oid SDK的Javadoc在Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 14:30