开发者

IntelliJ and the android java docs

Has anyone had any luck getting IntelliJ to recognize and display the android java doc开发者_运维百科s?


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

Make sure you've downloaded the SDK completely including the documentation using the SDK Manager. On my system they are located under SDK_ROOT/docs/reference and this directory is automatically configured in IDEA Android SDK.


Make sure that the directory containing the documentation is in Documentation Paths. For this, do the following:

  1. In Android Studio, open File -> Project Structure
  2. Click on SDKs under Platform Settings
  3. Select Android <version> in the middle panel
  4. Add the following path under the Documentation Paths tab:

    path_to_android_sdk/docs/reference

If you have not downloaded the documentation in SDK Manager, please do so before performing this procedure.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜