mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
16 lines
666 B
Bash
Executable File
16 lines
666 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# 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-8.xml https://dl-ssl.google.com/android/repository/repository-8.xml
|
|
curl -o addon.xml https://dl-ssl.google.com/android/repository/addon.xml
|
|
curl -o sys-img-mips.xml https://dl-ssl.google.com/android/repository/sys-img/mips/sys-img.xml
|
|
curl -o sys-img-x86.xml https://dl-ssl.google.com/android/repository/sys-img/x86/sys-img.xml
|
|
|
|
./generate-addons.sh
|
|
./generate-platforms.sh
|
|
./generate-sysimages.sh
|