Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android/Java Javadoc missing after updating Android SDK

After i recently installed the new Android SDK stuff, I no longer can view the Javadoc while editing my project's code. I get this message: Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc.

I am getting this message for all methods, variables, classes, etc.

I have installed the documentation and everything available to me via the android update manager. I have also tried to do a clean install of the android sdk and eclipse, and no luck getting the javadoc working.

I have also tried manually setting the javadoc via project properties -> javadoc location -> file:/C:/Program Files/Android/android-sdk-windows/docs/reference/ with no luck

What suggestions do you have that could fix this problem?

like image 321
james Avatar asked Dec 15 '10 15:12

james


1 Answers

Deleting .metadata is not a good solution because you'll lose all of your settings. I poked at this a bit and was able to figure it out. Full writeup is here:

http://hacksoflife.blogspot.com/2011/02/losing-javadocs-in-eclipse-solution.html

like image 75
cjserio Avatar answered Oct 13 '22 22:10

cjserio