Skip to main content

Build and Run LlmBench on Android

Open the LlmBench Kotlin Multiplatform project in Android Studio and build its Android app with the repository's current Java and SDK requirements.
1 min read

LlmBench is a Kotlin Multiplatform workspace with Android as the first shipping client. The Android app has minSdk 26, targetSdk 35, and currently compiles against API 37 with Java 21.

Clone the repository

Open in Android Studio

Open the repository root in a current Android Studio release and let Gradle import the :app and :shared modules.

Sync Gradle

Install Android SDK Platform 37 if Android Studio asks for the compile SDK, then sync the project with JDK 21 selected for Gradle.

Build the Android app

On Windows PowerShell or Command Prompt, use gradlew.bat :app:assembleDebug.

Run on a device or emulator

Connect a device running Android 8.0 / API 26 or newer, or start a compatible emulator, then run the app configuration from Android Studio.

Note

The UI remains Compose-first. Shared code lives in the Kotlin Multiplatform shared module, while Android keeps platform-native WebView, upload, authentication, and secure-storage behavior where needed.

Prerequisites#

  • A current stable Android Studio
  • JDK 21
  • Android SDK Platform 37
  • An Android device or emulator on API 26 or newer

Verify your build#

A successful debug build creates the APK under the app module's build outputs. Running it should open LlmBench with its account-backed provider tabs and native chat/compare surfaces.