Javadoc cannot run in Android projects

I use eclipse 3.5.0 on Ubuntu 10.04 2. Android development I installed:

>Sun's JDK comes from the Ubuntu repository; > eclipse. Eclipse 3.5. Org 2 (Classic), unzip to / opt / eclipse > from Android COM, unzip it to / opt / Android SDK

My problem is that Javadoc won't work when I'm in an Android project (neither for Android classes nor Java classes) For example, if I hover over dateformat, I will get:

However, if I hover over the dateformat while editing a normal java project, I will get the correct Javadoc:

So Javadoc is there. For some strange reasons, it can't be accessed from within the Android project

What could be the reason for any idea?

Solution

I solved this problem myself, and that's what I did (from inside eclipse):

>Go to the menu window - > Android SDK and AVD manager > Click available packages > View documentation... Package in the window that appears Please note that I have only one documentation package to choose from. It is used for a newer version of the SDK than I use, but it is good enough. > Click Install selected

Now, just wait for the installation to complete, and you should let Javadoc hover over most API calls

Greetings / J

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>