Javadoc in Eclipse failing to recognize packages

前端 未结 8 1502
傲寒
傲寒 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 15:51

    You need to put the android classes in your javadoc classpath, too. For this, add the android jar file to the -classpath argument of javadoc (as you would do for your compiler).

    I have no idea whether and where Eclipse gives you some configuration option for this, though.

提交回复
热议问题