19

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.

JB_User
  • 3,117
  • 7
  • 31
  • 51
  • Here is the ultimate answer [How to use Android SDK Documentation offline](https://stackoverflow.com/a/66178613/13485979) – Faisal Khan Feb 12 '21 at 20:32

4 Answers4

19

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.

Benito Bertoli
  • 25,285
  • 12
  • 54
  • 61
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.

Sam
  • 86,580
  • 20
  • 181
  • 179
  • 1
    @Kumar Ha! We made the same correction at the same time. Thanks for fixing it, I zoned out. – Sam Apr 01 '13 at 17:51
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.

Deepak Bala
  • 11,095
  • 2
  • 38
  • 49
0

No one of the exiting answer works in the 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

matan h
  • 900
  • 1
  • 10
  • 19