fix ant builds by using frozen SDK
legacy! This uses a copy of the Android SDK that is frozen to the last version that works with ant builds.
This commit is contained in:
parent
40233543d3
commit
610abf5b79
|
@ -1,11 +1,13 @@
|
|||
#!/bin/bash
|
||||
# bash is required because we need bash's printf to guarantee a cross-platform
|
||||
# timestamp format.
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
if [ -z $ANDROID_HOME ]; then
|
||||
if [ -e ~/.android/bashrc ]; then
|
||||
. ~/.android/bashrc
|
||||
if [ -e ~/.android/bashrc-ant-build ]; then
|
||||
. ~/.android/bashrc-ant-build
|
||||
else
|
||||
echo "ANDROID_HOME must be set!"
|
||||
exit
|
||||
|
|
|
@ -27,8 +27,8 @@ fi
|
|||
|
||||
|
||||
if [ -z $ANDROID_HOME ]; then
|
||||
if [ -e ~/.android/bashrc ]; then
|
||||
. ~/.android/bashrc
|
||||
if [ -e ~/.android/bashrc-ant-build ]; then
|
||||
. ~/.android/bashrc-ant-build
|
||||
else
|
||||
echo "ANDROID_HOME must be set!"
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue