0

When I hover over something, quick documentation always says "fetching documentation". It takes a few seconds to show the documentation.

I read this question and found that this is because Android Studio is always trying to access docs online and not the offline copy.

This was the answer given.

In jdk.table.xml, find all the lines:

<root type="simple" url="http://developer.android.com/reference/">

and modify them to

<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/docs/reference/">

However, when I checked, docs folder is missing from that location.

enter image description here

This is my sdk manager

enter image description here

This is my project structure

enter image description here

Enzio
  • 799
  • 13
  • 32

1 Answers1

2

The answers are outdated. You can install the docs in the following way:

  1. Choose the SDK Tools tab in the SDK Manager
  2. "Show package details" must be checked
  3. Choose to install "Documentation for Android SDK"

The docs folder will appear

But there are 2 big drawbacks:

the docs are for API 24

folder is 1 GB big

As i remember , it was announced (maybe a year ago), that newer docs will be only available online. Don't know if downloadable packages exist somewhere, or if it's possible to scan and download the entire site at Official docs address for offline use.

Helmwag
  • 460
  • 5
  • 7