mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-21 15:38:35 -05:00
android_install takes care of everything
This commit is contained in:
parent
8aa296dc16
commit
20d54645f8
@ -1,6 +1,4 @@
|
||||
language: java
|
||||
env:
|
||||
- COMPONENTS="tools,platform-tools,build-tools-21.1.1,android-21,extra-android-m2repository,extra-android-support,extra-google-m2repository" ANDROID_HOME="./android-sdk-linux"
|
||||
|
||||
before_install:
|
||||
- bash android_install.sh $COMPONENTS
|
||||
|
@ -1,14 +1,23 @@
|
||||
#!/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/
|
||||
|
||||
COMPONENT_ARRAY=$(echo $COMPONENTS | tr "," "\n")
|
||||
for COMP in $COMPONENT_ARRAY
|
||||
for COMP in ${COMPONENTS}
|
||||
do
|
||||
echo "yes" | tools/android update sdk -u -a -t $COMP
|
||||
echo "yes" | tools/android update sdk -u -a -t ${COMP}
|
||||
done
|
||||
|
||||
cd -
|
||||
|
Loading…
Reference in New Issue
Block a user