MinimalBible/android_install.sh

24 lines
425 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"
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
tar xf android-sdk_r23.0.2-linux.tgz
cd android-sdk-linux/
export ANDROID_HOME=`pwd`
ls android-sdk-linux/
for COMP in ${COMPONENTS}
do
echo "yes" | tools/android update sdk -u -a -t ${COMP}
done
cd -