mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 10:56:53 +00:00
d17bcfc5f0
Improvement: Use nix-shell for fetch.sh androidsdk{,_extras}: - Update to 7.1.1 google_apis_25 is missing after fetch.sh due to an error in addon.xml (upsteam bug). Addons: - Add google_apis_25 - Update google_play_services (v8_rc41 -> v11_rc16)
17 lines
660 B
Bash
Executable file
17 lines
660 B
Bash
Executable file
#! /usr/bin/env nix-shell
|
|
#! nix-shell -i bash --pure -p androidsdk curl libxslt
|
|
|
|
# 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
|
|
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
|
|
|
|
./generate-addons.sh
|
|
./generate-platforms.sh
|
|
./generate-sysimages.sh
|
|
./generate-sources.sh
|