Android Studio quick documentation always “fetching documentation”

后端 未结 12 1527
Happy的楠姐
Happy的楠姐 2020-11-29 18:14

I just move to Android studio from eclipse,I found that it always shows \"fetching documentation\" when I use quick documentation(Ctrl+Q),How to solve this?(I download docum

12条回答
  •  猫巷女王i
    2020-11-29 18:48

    On Windows

    File location of jdk.table.xml

    C:\Users\[your windows user name]\.AndroidStudio2.3\config\options\jdk.table.xml
    

    Notes

    • "." before AndroidStudio directory
    • version number after ".AndroidStudio". Be sure to edit the version number of Android Studio you're currently using. Previous versions will still have directories here as well.

    Line to edit

    Before

    
    

    After

    
    

    Notes

    • C:/Android/sdk/docs/reference replace with Android SDK location on your machine
    • if you're copy/pasting location from File Explorer, replace backslashes (\) with forward slashes (/)
    • Each installed Android SDK version will have its own docs XML entry
    • Edit the line above in each SDK version found in jdk.table.xml (if you want quick docs when targeting those versions in build.gradle). e.g. If you have Android SDK API 25 installed, you'd find a section to edit under

    Invalidate Caches / Restart after change!

    File -> Invalidate Caches / Restart...

提交回复
热议问题