Reputation: 7916
When I start a new android project and use native android methods and components and java methods and components, I can't read their description because javadoc send me this message:
Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc.
I have the latest android documentation in my android-sdk folder and javadoc works when I work with standard java projects, but not with android project. Have you got any ideas why does it happen and how can I fix this issue?
Upvotes: 6
Views: 2845
Reputation: 7916
I found solution myself. In this situation you need to correct a path of your javadoc at Project->Properties->Java Build path->AndroidX.X(where X.X is platform version)->android.jar->Javadoc location.
It should be pointed at your docs\reference location
Upvotes: 9
Reputation: 5308
Kindly check the following url & try to implement the instructions provided
http://stuffthathappens.com/blog/2008/11/01/browsing-android-source-in-eclipse/
Upvotes: 0
Reputation: 12684
If you are using Eclipse (you should mention the IDE) you should get a button to "attach source" when you get that message. Just click that button and point it to the docs directory on your computer or on the internet and you should be good to go.
Upvotes: 0