How to generate links to the android Classes' reference in javadoc?

前端 未结 7 1215
渐次进展
渐次进展 2020-12-13 06:58

When I generate javadoc for my Android project in Eclipse, there are lots of warnings like

cannot find symbol
symbol  : class TextView

and

7条回答
  •  孤街浪徒
    2020-12-13 07:04

    Although I followed to top answer here, I found I could only get it to work if I exported an ant build file (javadoc.xml), and manually added the android.jar file to the classpath. My javadoc.xml looks like:

    
    
        
            
       
    
    

    I could then generate the document using ant -f javadoc.xml. I couldn't figure out a way to do it properly from the Eclipse GUI, as even selecting the correct referenced archive did not cause Eclipse to add android.jar to the classpath.

提交回复
热议问题