README.md

February 5, 2026 ยท View on GitHub

Experimental Android native application written in pure C3.

Status

The Android bindings currently included in this repository are minimal and experimental.

They only cover the bare minimum required to:

  • Create a native window
  • Configure buffers (e.g. setBuffersGeometry)
  • Poll events (e.g. pollOnce)

Work is in progress on a more complete Android NDK wrapper for C3, replacing the current minimal bindings.

Requirements

  • Android SDK (build-tools + platforms)
  • Android NDK r29+

C3 Compiler

This project now works with the official C3 compiler.

No fork is required.

Environment variables

export ANDROID_SDK_HOME=/path/to/android-sdk
export ANDROID_NDK=/path/to/android-ndk

Build

Generate a debug keystore at android/debug.jks. Then execute:

export KEYSTORE_PASS=your_password_here
make

Host

Tested on:

  • linux-aarch64 (Termux on Android)

Screenshot

OpenGL ES triangle on Android