JavaDoc in an Eclipse Android Project

前端 未结 3 472
忘掉有多难
忘掉有多难 2020-12-05 09:28

In our Android project, our code is JavaDoc\'d and that generates everything properly. However, any reference to the Android API classes/functions results in a JavaDoc error

3条回答
  •  生来不讨喜
    2020-12-05 10:10

    If you have the "Documentation for Android" package and the javadoc info still isn't showing up, make sure the Android library settings point to the right folder:

    Project -> Settings -> Java Build Path, Libraries tab

    Android X.X -> Android.jar -> Javadoc Location:
    Should be something like "sdk_root/docs/reference/".

    And to view the docs for a class in editor for example:

    you should choose show attached java doc in web browser from to popup that appear when hover the cursor on some declaration.

提交回复
热议问题