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
I also found this issue with Android studio 0.8.9 & 0.8.14, here's a simple solution:
File -> Invalid Caches/Restart -> Invalidate and Restart
Sometimes the documentation package may be missing or not up-to-date.
Try open the Android SDK manager(Tool->Android->SDK Manager) and install the 'Documentation for Android SDK' in the latest release, for now it's Android 5.0(API 21), then restart Android studio.
If this happens again, just invalidate the caches.
UPDATE: From unknown exactly version, just simply download Android Documentation
in SDK Manager
could fix the problem. My 3.4.1
do so.
But I don't know whether older version could works as well or not.
For a quick workaround edit /etc/hosts
(or C:\Windows\System32\Drivers\etc\hosts
) file and add the line:
0.0.0.0 developer.android.com
This will prevent it but you can comment it out when you need to fetch the latest or ones not cached or read the docs online.
Go to: Tools > Android > SDK Manager
. Select SDK Tools
tab and:
As other answers said, it's because the Android Studio is trying to fetch the javadoc online (from http://developer.android.com/reference/
), which will be very slow if the network not good, especially in China because google is blocked. So we should change this setting and let Android Studio fetch javadoc locally:
Android SDK Manager
.jdk.table.xml
, replace all http://developer.android.com/reference/
to the path to your sdk reference folder. For example file://$USER_HOME$/tools/adt-bundle-mac/sdk/docs/reference
on my Mac.On OS X, if you have used several versions of Android Studio, there may be several configuration folders for each version (under ~/Library/Preferences/
), you should change the jdk.table.xml
in the right folder, in my case I should edit jdk.table.xml
under the folder AndroidStudio2.2
.
I meet the same issue too,but I solved it just now. I used the Android Studio with SDK before I solved it,and then I download a Android Studio Zip without SDK,and run it,and the issue disappeared. You can try it.