简体   繁体   中英

How to add missing Android javadoc to Eclipse?

My Eclipse is missing some Android javadoc options. For instance, I don't get autocomplete option for android:layout_span , which is under TableRow . How do I add these javadocs and others that may be missing?

There could be two reasons for the same 1. You may be using older min SDK version, hence auto complete does not come 2. Javadoc does not popup.

If your jar has a given api, then you will get the autocomplete for sure, autocomplete has got nothing to do with javadoc.

As you have asked about javadoc, let me show you how to set it up.

In your project, you must see Android 4.4 as one of the library dependency, expand it. you will see android.jar, right click > properties.

There you can see javadoc location as one of the option Give the javadoc location as http://developer.android.com/reference/

You can validate it as well.

This should give you javadoc. but the problem you are explaining is not a javadoc issue.

Check the projects manifest file to see if the min SDK is proper.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM