Skip to content

Installation

Luc Côté edited this page Jul 5, 2026 · 4 revisions

Installation

Three ways to add whisper-android. Pick one.

A) Maven Central (recommended)

// build.gradle.kts (module)
dependencies {
    implementation("dev.ffmpegkit-maintained:whisper-android:1.0.0")
}

Nothing else to configure — mavenCentral() is in the default repositories of any new Android project.

B) JitPack

Add the JitPack repository once:

// settings.gradle.kts
dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

Then depend on a tag:

dependencies {
    implementation("com.github.ffmpegkit-maintained.whisper:whisper-android:v1.0.0")
}

C) Direct AAR

  1. Download whisper-android-<version>.aar from Releases.
  2. Put it in app/libs/.
  3. Add:
    dependencies {
        implementation(files("libs/whisper-android-1.0.0.aar"))
        implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
    }

Requirements

  • compileSdk 35, minSdk 24
  • arm64-v8a device (the Free tier ships only this ABI)
  • A ggml model file — see Model Download

You do not need the NDK, CMake, or the whisper.cpp sources — the native code is already compiled inside the AAR.

Clone this wiki locally