andClaw turns an Android phone into an on-device AI gateway host.
It runs OpenClaw inside a proroot Ubuntu arm64 environment and provides a Jetpack Compose UI for setup, onboarding, pairing, and runtime control.
Google Play: https://play.google.com/store/apps/details?id=com.coderred.andclaw
- One-tap setup for rootfs, Node.js, system tools, OpenClaw, and Playwright Chromium
- OpenRouter OAuth onboarding or manual API-key setup
- Gateway lifecycle control from the Android UI
- Provider and model configuration for OpenRouter, OpenAI, Anthropic, Google, and OpenAI Codex mode
- Messaging channel integration for WhatsApp, Telegram, and Discord
- WhatsApp QR pairing flow from inside the app
- Runtime recovery support through foreground service, boot auto-start, app-update restart, and watchdog recovery
- Play Asset Delivery support for large install-time assets
- Android Studio / Gradle environment
- Java 11
- Docker for
scripts/setup-assets.sh - arm64 Android device (minimum SDK 26)
app/- Android app module (Kotlin + Jetpack Compose)app/src/main/java/com/coderred/andclaw/- app code by feature area (ui/,data/,proroot/,service/,receiver/,auth/)app/src/test/- JVM unit testsapp/src/androidTest/- instrumentation testsinstall_time_assets/- Play Asset Delivery install-time asset packscripts/setup-assets.sh- preparesjniLibsand bundled runtime assets
# 1) Prepare assets (required on first build or when refreshing bundles)
# Run this outside the sandbox because it needs Docker and network access.
./scripts/setup-assets.sh
# 2) Debug APK (compat alias for prod debug flow)
./gradlew assembleDebug
# 3) Recommended production release AAB
./gradlew bundleProdReleaseArtifacts:
- Recommended release AAB:
app/build/outputs/bundle/prodRelease/app-prod-release.aab - Legacy release path still supported by helper scripts:
app/build/outputs/bundle/release/app-release.aab
./gradlew installProdDebug./gradlew testDebugUnitTest
./gradlew connectedDebugAndroidTest
./gradlew lintDebugGoogle Play requires 16KB page-size compatibility for Android 15+ targets. scripts/setup-assets.sh verifies bundled native binaries before packaging.
scripts/setup-assets.shchecksapp/src/main/jniLibs/arm64-v8a/*.soLOAD segment alignments.
See THIRD_PARTY_LICENSES.md for key third-party runtime components and distribution notes.