MinimalBible/android_install.sh

21 lines
475 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"
sudo apt-get update
2014-12-05 22:56:03 -05:00
sudo apt-get install --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
tar -zxf android-sdk_r23.0.2-linux.tgz
for COMP in ${COMPONENTS}
do
echo "yes" | android-sdk-linux/tools/android update sdk -u -a -t ${COMP} > /dev/null
done