This may be completely Eclipse-specific, but perhaps not.

I find it's very inconsistent whether I can get Eclipse to show me the 
Javadoc for an Android class or method, even when I appear to have valid 
javadoc attached to the "android.jar" file.

For instance, right now I'm viewing a class in a sample application that 
references SQLiteDatabase. There are no compile errors, so I have all of my 
dependencies properly set.  I hover on the class name reference and force 
the javadoc to display, it prints the class name as 
"android.database.sqlite.SQLiteDatabase", but it says "Note: This element 
has no attached source and the Javadoc could not be found in the attached 
Javadoc.".

I then went into the Project Explorer and expanded the "Android 2.3.3" 
library, exposing the "android.jar" file. I right-clicked on that and 
selected Properties. I clicked on "Javadoc Location". It's currently set to 
"Javadoc URL" and the "Javadoc location path" was set to the path to the 
"reference" directory in the android SDK. I clicked "Validate" and it said 
"Location is likely valid".

Just in case, I verified that "android/database/sqlite/SQLiteDatabase.html" 
exists at the root of the javadoc tree.

So why is it not showing the javadoc for this class?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to