20

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.

1

4 Answers 4

20

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.

Sign up to request clarification or add additional context in comments.

4 Comments

Does this work for the training also: developer.android.com/training/index.html
There is no option to do this in Android Studio 3.6.3 on Ubuntu. How does one find the docs for offline use if SDK Manager does not list a download option for them?
Now you have to download "Source for Android XX" to get the docs (Android Studio Chipmunk)
Still cannot find after downloading source for android xx.
3

Can I download the entire Android Developer documents to my machine and browse it locally?

In the SDK Manager simply select "Documentation for Android SDK" for a recent API.

Comments

1

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

0

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.

screenshot of android studio sdkmanager

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.