MinimalBible/android_install.sh

21 lines
507 B
Bash
Raw Normal View History

#!/bin/bash -
COMPONENTS="
tools
platform-tools
build-tools-21.1.1
android-21
extra-android-m2repository
extra-android-support
extra-google-m2repository"
2014-12-05 01:45:21 -05:00
#TODO: Is libgd2-xpm actually needed???
sudo apt-get update
2014-12-05 01:25:53 -05:00
sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
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
for COMP in ${COMPONENTS}
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