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
|
#!/bin/bash
|
||||||
|
# bash is required because we need bash's printf to guarantee a cross-platform
|
||||||
|
# timestamp format.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ -z $ANDROID_HOME ]; then
|
if [ -z $ANDROID_HOME ]; then
|
||||||
if [ -e ~/.android/bashrc ]; then
|
if [ -e ~/.android/bashrc-ant-build ]; then
|
||||||
. ~/.android/bashrc
|
. ~/.android/bashrc-ant-build
|
||||||
else
|
else
|
||||||
echo "ANDROID_HOME must be set!"
|
echo "ANDROID_HOME must be set!"
|
||||||
exit
|
exit
|
||||||
|
|
|
@ -27,8 +27,8 @@ fi
|
||||||
|
|
||||||
|
|
||||||
if [ -z $ANDROID_HOME ]; then
|
if [ -z $ANDROID_HOME ]; then
|
||||||
if [ -e ~/.android/bashrc ]; then
|
if [ -e ~/.android/bashrc-ant-build ]; then
|
||||||
. ~/.android/bashrc
|
. ~/.android/bashrc-ant-build
|
||||||
else
|
else
|
||||||
echo "ANDROID_HOME must be set!"
|
echo "ANDROID_HOME must be set!"
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in New Issue