2

I'm looking for a possibility to browse the android API guides offline (with figures). I read several questions about this here (ex. 1, 2, 3...) and tried to get offline docs from the sdk folder or using a direct link. The problem with the actual version (23_r01) is that the images are often not displayed. For example in the page sdk/docs/design/index.html the image hero-material-design.png could not be displayed because of a bad src tag.

What I've tried:

  1. Using the docs from the SDK folder
  2. Direct download from https://dl-ssl.google.com/android/repository/docs-23_r01.zip
  3. Saving the files using HTTrack (I'm getting errors here..)

What I would like to achive:

  • Download a correct version of the docs
  • OR "Repair" all the broken image paths in the html files

I would appreciate any help.

Mogsdad
  • 44,709
  • 21
  • 151
  • 275

1 Answers1

0

If thats still interested to you, just edit \docs\design\index.html, add .. before /design (it means the parent folder, one dot means the current), like that:

<img class="dac-hero-image" src="../design/media/hero-material-design.png">

captain_majid
  • 140
  • 13