This is a set of scripts for creating a mirror of Android Repository for Android SDK Manager (both standalone and Android Studio built-in) to download SDK packages from.
- Linux Mint Maya (13, Ubuntu 10.04)/Rebecca (17.1, Ubuntu 14.04),
OS X Yosemite (10.10.4)
- Cygwin on Windows 7 64bit
You'll need a lot of free storage on your disk, about 150GB as of 2017-01-12.
sudo apt-get install xsltproc
(TODO test) yum install xsltproc
It's recommended to use homebrew to install wget.
TODO test xsltproc on osx
The two packages you must have are libxml2 and libxslt, both available under the Libs category. Ref. http://www.sagehill.net/docbookxsl/InstallingAProcessor.html#cygwin
Setup your mirror and Android Standalone SDK Manager
Setup your Android Studio Built-in SDK Manager
Settings >> Appearance & Behavior >> System Settings >> HTTP Proxy
- Manual proxy configuration
- Host name: studyjams.dushu.hu
- Port number: 80
- Check connection
Settings >> Appearance & Behavior >> System Settings >> Android SDK >> SDK Update Sites
- Add sites with http. See https://docs.google.com/spreadsheets/d/1dTX0mhnEOVoqMebWnGllWM-5AIjgJ-oLuFsjmDd0mh4/edit#gid=822947052
- Enable "Force https://... sources to be fetched using http://..."
(optional) SDK Web Manager
It's a single page app for exploring the packages downloaded. To make it work,
In your web root directory, (backup your index.html, and) run
It will copy over three files and one directory.
- Install bower (requires nodejs, https://nodejs.org/), and run the following command line
- bower i -F -S
Who's using it
At StudyJams and other events hosted by GDG Suzhou