1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/development/mobile/androidenv/fetch.sh

16 lines
589 B
Bash
Raw Normal View History

#!/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-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
2016-10-09 11:11:55 +01:00
./generate-sources.sh