Commit dbd96f4f authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Set `ANDROID_NDK_HOME` in Android build script.

Otherwise a build which starts with no Android SDK/NDK downloads may fail with
"NDK is missing a "platforms" directory.".

The export is done in `maybe_install_sdk()` (bootstrap mode) much in the same
vein as `ANDROID_HOME` is set in `setup_deps()`, although it may be better to
set them between bootstrap and build.
parent 76f4d904
......@@ -172,6 +172,7 @@ function maybe_install_ndk {
fi
unzip -q ${NDK_ZIP}
fi
export ANDROID_NDK_HOME="$NDK_DIR"
}
######################################################################
......
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