2017-06-10 03:32:25 +02:00
|
|
|
#! /usr/bin/env nix-shell
|
|
|
|
#! nix-shell -i bash --pure -p androidsdk curl libxslt
|
2013-09-18 13:07:47 +02:00
|
|
|
|
|
|
|
# this shows a list of available xmls
|
|
|
|
android list sdk | grep 'Parse XML:' | cut -f8- -d\ # | xargs -n 1 curl -O
|
|
|
|
|
|
|
|
# we skip the intel addons, as they are Windows+osX only
|
|
|
|
# we skip the default sys-img (arm?) because it is empty
|
2015-10-06 14:27:49 +02:00
|
|
|
curl -o repository-11.xml https://dl.google.com/android/repository/repository-11.xml
|
|
|
|
curl -o addon.xml https://dl.google.com/android/repository/addon.xml
|
|
|
|
curl -o sys-img.xml https://dl.google.com/android/repository/sys-img/android/sys-img.xml
|
2013-09-18 13:07:47 +02:00
|
|
|
|
|
|
|
./generate-addons.sh
|
|
|
|
./generate-platforms.sh
|
|
|
|
./generate-sysimages.sh
|
2016-10-09 12:11:55 +02:00
|
|
|
./generate-sources.sh
|