Skip to main content

Gradle

Artifacts come from Maven Central under io.github.sanchitmonga22.
build.gradle.kts (Module: app)
QHexRT is pinned to 0.20.19, not 0.20.24. It was excluded from Maven Central publishing after 0.20.19 and cannot advance there. Do not “fix” it to match the others; that version does not exist.
Using a version catalog:
gradle/libs.versions.toml
No NDK, CMake, or native toolchain is needed. Each AAR ships prebuilt native libraries.

Build configuration

build.gradle.kts (Module: app)

The import that makes it compile

The namespaces are extension properties. This import is not optional:
Without the second line, RunAnywhere.llm is an unresolved reference.

Module sizes

Sizes are the published .aar on Maven Central, measured at 0.20.24 for the first three and 0.20.19 for QHexRT. They are larger than the eventual APK contribution, because each .aar ships native libraries for every supported ABI and the Android build drops the ones your abiFilters exclude. Include only the backends you need.

Permissions

AndroidManifest.xml
INTERNET is for model downloads. RECORD_AUDIO is only needed if you use speech input.

Emulators

The NPU backend is arm64 only and is unavailable on x86_64 emulators. Test inference on a physical ARM64 device.