1#!/bin/sh
2
3# this shows a list of available xmls
4android list sdk | grep 'Parse XML:' | cut -f8- -d\ # | xargs -n 1 curl -O
5
6# we skip the intel addons, as they are Windows+osX only
7# we skip the default sys-img (arm?) because it is empty
8curl -o repository-11.xml https://dl.google.com/android/repository/repository-11.xml
9curl -o addon.xml https://dl.google.com/android/repository/addon.xml
10curl -o sys-img.xml https://dl.google.com/android/repository/sys-img/android/sys-img.xml
11
12./generate-addons.sh
13./generate-platforms.sh
14./generate-sysimages.sh