Docker container containing all needed Android C/C++ build tools. Each container will contain only one version of the Android SDK but will contain all additional libraries and build tools needed (Python 3, Ninja, etc).
There are 2 ways to use this container Interactive and Command mode.
This will drop you into an interactive bash
session.
docker run -it -v /src:/src build-android
This will run the supplied command directly.
docker run -v /src:/src build-android [command]
docker build . -t build-android --build-arg ANDROID_SDK_PLATFORM_VERSION=22 .
Currently only version 22
for the Android SDK platform is supported. Note
that ANDROID_SDK_PLATFORM_VERSION
defaults to 22
if not supplied.