I'm trying to generate the documentation of my android project using javadoc & doclava. I downloaded the doclava jar and I'm trying to generate the doc through Project-> generate javadoc.
If I understood the mechanism, I have two ways to tell javadoc to use the doclava doclet:
1) Select "use custom doclet" with these options:
Doclet name: com.google.doclava.Doclava
Doclet Path: /full/path/of/my/doclava/dir/doclava-1.0.6.jar
2) Select "use standard doclet" and then, in the "javadoc options" put:
-doclet com.google.doclava.Doclava
-docletpath ${/full/path/of/my/doclava/dir/doclava-1.0.6.jar}
I have encountered these issues:
If I use the first method I can successfully generate the doc but it seems that android classes are not recognized. I get errors when doclava parses "import android.util.SparseArray"
If I use the second method I get this error: "javadoc: error - Cannot find doclet class com.google.doclava.Doclava 1 error"
As a matter of fact: if I don't use Doclava my documentation is correctly generated with links to the android apis.
I just want to create my project javadoc with links to the android/java doc (for the android/java objects) and have an "android look & feel".