Android/Java Javadoc missing after updating Android SDK

后端 未结 5 1466
一生所求
一生所求 2021-02-19 21:05

After i recently installed the new Android SDK stuff, I no longer can view the Javadoc while editing my project\'s code. I get this message: Note: This element has no att

5条回答
  •  余生分开走
    2021-02-19 21:22

    1) In eclipse, right click on your Android project and select Properties
    2) On the menu on the left, select "Java Build Path"
    3) On the right hand side, select the "tab" labelled "Libraries".
    4) Here you should see the Android SDK that you're targeting. For example: "Android 2.2".
    5) Click on the arrow to the left of the Android SDK to expand the sublevels.
    6) Find "Android.jar" and click on the arrow to the left of that one as well to expand it.
    7) You'll see a setting called "Javadoc location". Select that and then click on the     "Edit" button.
    8) At the top, RESELECT the path to your javadocs. This is usually "path_to_android_sdk/android-sdk-mac_86/docs/reference/". I say RESELECT because even if it's right, you should browse and do it over anyway.
    9) Click on "validate". You should be all set now!
    

提交回复
热议问题