IntelliJ and the android java docs

匿名 (未验证) 提交于 2019-12-03 07:36:14

问题:

Has anyone had any luck getting IntelliJ to recognize and display the android java docs?

回答1:

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.



回答2:

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.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!