Only Android 8.0+ is supported.
- Install docker, if not already present on your host
- Clone the following repository: https://github.com/Scorbutics/ruby-android-ndk-docker
- Execute the "build.sh" script of this existing repository, it will build your docker environment required to compile
Note that before building you require :
- NDK >= r22b
- Android Studio >= 4.2.0
- CMake >= 3.19.2
- Ninja
- libtool binary (package 'libtool-bin' on Ubuntu) for 'flac'
From the root folder:
- execute
./scripts/configure.sh
- then, execute
./scripts/build.sh
Build using "./configure" in root folder. Default ANDROID API values are written into 'arm64-v8a-android-toolchain.params'. You can edit it if you know what you're doing.
The build output is in "target/android".