Skip to content

cdlz/android-repository

 
 

Repository files navigation

android/repository

It mirrors Android SDKs, which Android Studio built-in and standalone SDK Manager both can download from. Ideal for a crowded place, e.g. classroom, Study Jams, and Code labs.

Tested on

  • Linux Mint Rebecca (17.1, Ubuntu 14.04),
  • Windows 7 64bit
  • macOS Sierra (10.12.6)

Prerequisites

Server setup

  • Files will be downloaded to your working directory, which can be different than
  • The directory the project is cloned into, referred as ${ANDROID_REPOSITORY_HOME}.
  • The mirror can be hosted with an HTTP server. A sample Apache HTTPd vhost config will be printed on download complete.

For Android Studio Built-in SDK Manager

${ANDROID_REPOSITORY_HOME}/download2.sh

For Standalone SDK Manager

${ANDROID_REPOSITORY_HOME}/download.sh

By default, it downloads from https://dl.google.com. To download from elsewhere, set environment variable, DL_HOST. e.g.

export DL_HOST=https://dl-ssl.google.com

See also Known Mirrors.

Client setup

After your server setup is complete, navigate to, http://<your.server>/android/studio/, and find further instructions.

Who's using it

At StudyJams and other events hosted by GDG Suzhou

Please let me know if you'd like to publish your mirror here.

About

Make a mirror for Android SDK Manager, both standalone and built-in to Android Studio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XSLT 89.9%
  • Shell 6.4%
  • HTML 3.7%