Javadoc in Eclipse failing to recognize packages

前端 未结 8 1473
傲寒
傲寒 2020-11-27 15:23

Thanks to this thread, I was able to get Javadoc links to work for my Android project within Eclipse on Windows. Specifically, \"{@link android.widget.Toast}\" is currently

相关标签:
8条回答
  • 2020-11-27 16:06

    the answers above are quite good! include the classpath in your javadoc.xml and run is via ant-command or eclipse -> Run As -> Ant Build

    BUT be sure that there are no whitespaces in the paths! I had this problems with C:/Program Files/... and it didn't work till i changed it to C:/Progra~1/...

    also putting the path in quotes didn't work for me.

    0 讨论(0)
  • 2020-11-27 16:07

    This Works in Eclipse for me:

    1. Project --> generate Javadoc
    2. Go to "Configure Javadoc arguments."
    3. in VM options add "-bootclasspath /path/to/sdk/platforms/android-##/android.jar"
    0 讨论(0)
提交回复
热议问题