IntelliJ and Android java docs

Has anyone succeeded in getting IntelliJ to recognize and display Android java documents?

+3
android intellij-idea
source share
2 answers

This works out of the box since the Android SDK configuration in IDEA automatically adds the JavaDoc directory to the Documentation Paths .

Make sure you fully download the SDK, including the documentation, using the SDK manager. On my system, they are under SDK_ROOT/docs/reference , and this directory is automatically configured in the Android ID SDK.

+8
source share

Verify that the directory containing the documentation is in the Documentation Path . To do this, do the following:

  • In Android Studio, open FileProject Structure
  • Click the SDK in the Platform Settings section
  • Select Android <version> in the middle pane.
  • Add the following path to the Documentation Contexts tab:

    path_to_android_sdk / documents / link

If you have not uploaded the documentation to the SDK Manager, do this before performing this procedure.

+2
source share

All Articles