This Android build environment with ndk toolchain for cross compiling.
docker run --rm -it -v ${PWD}:/root thebino/android-build-environment /bin/bash -c "cd && ~/gradlew :app:assemble"
Variable | Destination |
---|---|
ANDROID_SDK_HOME | /opt/android-sdk/ |
ANDROID_NDK_HOME | /opt/android-sdk/ndk-bundle |
TOOLCHAIN | $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/ |
Benjamin Stürmer – @benjaminstrmer – webmaster@stuermer-benjamin.de
Distributed under the Attribution 4.0 International (CC BY 4.0) license. See LICENSE
for more information.