Note: This element neither has attached source nor attached Javadoc and hence no Javadoc cocould be found., attachedjavadoc

Source: Internet
Author: User

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 ).

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.