This repository provides a Docker image to build Android libraries for multiple platforms (ABIs) using the Android NDK and CMake.
- Builds Android libraries for multiple ABIs (e.g.,
arm64-v8a,armeabi-v7a,x86,x86_64). - Builds Linux applications and libraries for multiple ABIs (e.g.,
x86,x86_64). - Uses the latest Android NDK and CMake.
- Easily customizable for your project.
- Docker installed on your system.
- Basic knowledge of Docker and Android NDK.
- Clone the Repository
git clone https://github.com/kopsha/genius-builder.git cd genius-builder - Build the Docker image with the provided
Dockerfile:docker build -t android-builder . - Run the Docker Container
docker run --rm -v $(pwd):/workspace android-builder - Capture Outputs, the built libraries will be available in the
out/directory, organized by ABI:output/ ├── arm64-v8a/ │ └── libyourlibrary.so ├── armeabi-v7a/ │ └── libyourlibrary.so ├── x86/ │ └── libyourlibrary.so └── x86_64/ └── libyourlibrary.so
- Modify the
Dockerfileto include additional dependencies or tools. - Update the
buildscript to customize the build process for your project.
arm64-v8aarmeabi-v7ax86x86_64
This project is licensed under the GPL-3 License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request for any improvements.