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:
Hans-Christoph Steiner 2016-09-26 21:06:12 +02:00
parent 40233543d3
commit 610abf5b79
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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