Have to use Travis to set ANDROID_HOME

This commit is contained in:
Bradlee Speice 2014-12-05 01:16:14 -05:00
parent 15d2e34247
commit 49e5087595
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,6 @@
language: java
env:
- ANDROID_HOME="./android-sdk-linux"
before_install:
- bash android_install.sh $COMPONENTS

View File

@ -11,14 +11,10 @@ extra-google-m2repository"
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
tar -zxvf android-sdk_r23.0.2-linux.tgz
cd android-sdk-linux/
export ANDROID_HOME=`pwd`
ls
ls *
for COMP in ${COMPONENTS}
do
echo "yes" | tools/android update sdk -u -a -t ${COMP}
echo "yes" | android-sdk-linux/tools/android update sdk -u -a -t ${COMP}
done
cd -