I'm on a slow network connection and it's painful to use the documentation at https://developer.android.com/guide/components/index.html. Can I download the entire Android Developer documents to my machine and browse it locally? This would include the documents for all of the various classes and other things.
4 Answers
Yes you can.
Open SDK Manager (located in android_sdk_dir/SDK Manager.exe).
In the latest API (4.2) select Documentation for Android SDK.
Once downloaded, you can find the documentation in android_sdk_dir/docs.
4 Comments
You can get it under $ANDROID_SDK/docs/. If it is not already there download it via the "Documentation for Android SDK" option.
Alternatively you can download the source tree and link it up with your IDE.
Comments
None of the existing answers works in new Android Studio versions.
But I've found that you can to go to tools>sdkmanager,
and check the checkbox that matches the API version you want (its status probably will show Partially installed). Then click OK. It will install the documentation automatically.
