Note: This element neither has attached source nor attached Javadoc and hence no Javadoc cocould be found., attachedjavadoc
When you develop an Android project in Eclipse, move the cursor over the class you want to view the help document. If no help document is displayed, the following sentence is displayed:
Note: This element neither has attached source nor attached Javadoc and hence no Javadoc cocould be found.
This is because the Javadoc location attribute of the Android. jar file is not properly set. do not perform the following operations:
(1) Right-click the project name and choose Properties> Java Build Path;
(2) Find the android. jar file and expand it. You can see that Javadoc location is not set;
(3) Select the Javadoc location, click the Edit button on the right, select the Javadoc path, and click OK. The Javadoc path is usually/sdk/docs/reference/(for example, file on my machine: /E:/HZHI/adt-bundle-windows-x86_64-20140702/sdk/docs/reference /);
(4) you can see that the Javadoc location is successfully set and you can confirm again.
Now, move the cursor over the class to view the help document, and you will see the help document displayed.
If there is nothing in your/sdk/docs/background, you can run the SDK Manager and download it in front of the solution for Android SDK (which has been downloaded ).