MinimalBible/android_install.sh
Bradlee Speice b43ce4454f Switch Travis build to Java
Have to install Android manually, but allows me to upgrade on my schedule instead of waiting for Travis to update the components. Should fix #9, not going to worry about release builds yet
2014-12-01 22:35:37 -05:00

15 lines
313 B
Bash

#!/bin/bash -
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`
COMPONENT_ARRAY=$(echo $COMPONENTS | tr "," "\n")
for COMP in $COMPONENT_ARRAY
do
echo "yes" | tools/android update sdk -u -a -t $COMP
done
cd -