Commit 7e79efdc authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix build issue with missing env variable

ANDROID_HOME is an alias of ANDROID_SDK
parent f80a4da9
......@@ -12,6 +12,9 @@ if [ -z "$ANDROID_NDK" -o -z "$ANDROID_SDK" -o -z "$ANDROID_ABI" ]; then
echo "ANDROID_ABI should match your ABI: armeabi-v7a, armeabi or ..."
exit 1
fi
export ANDROID_HOME=$ANDROID_SDK
# try to detect NDK version
REL=$(grep -o '^r[0-9]*.*' $ANDROID_NDK/RELEASE.TXT 2>/dev/null|cut -b2-)
case "$REL" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment