2014-12-01 22:33:29 -05:00
|
|
|
#!/bin/bash -
|
|
|
|
|
2014-12-05 01:09:39 -05:00
|
|
|
COMPONENTS="
|
|
|
|
tools
|
|
|
|
platform-tools
|
|
|
|
build-tools-21.1.1
|
|
|
|
android-21
|
|
|
|
extra-android-m2repository
|
|
|
|
extra-android-support
|
|
|
|
extra-google-m2repository"
|
|
|
|
|
2014-12-01 22:33:29 -05:00
|
|
|
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
|
2014-12-05 01:12:48 -05:00
|
|
|
tar -zxvf android-sdk_r23.0.2-linux.tgz
|
2014-12-01 22:33:29 -05:00
|
|
|
|
2014-12-05 01:09:39 -05:00
|
|
|
for COMP in ${COMPONENTS}
|
2014-12-01 22:33:29 -05:00
|
|
|
do
|
2014-12-05 01:16:14 -05:00
|
|
|
echo "yes" | android-sdk-linux/tools/android update sdk -u -a -t ${COMP}
|
2014-12-05 01:18:10 -05:00
|
|
|
done
|