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

前端 未结 7 1193
渐次进展
渐次进展 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:17

    By now (August 2020), Google has published a package-list on its Android developer documentation. Hence, simply linking to https://developer.android.com/reference/ or https://d.android.com/reference/ will work (just tried this with success).

    Minor glitch: if you open the generated Javadoc and try to follow a link to an Android class (or one of the standard Java classes, which will also link to the Android documentation) and you are in frame mode, your browser might refuse to follow the link, as the Android site does not allow embedding in another page. Firefox then gives you the alternative of opening the target document in a new tab.

提交回复
热议问题