Skip to content
Development
Command

/android-dev

Build, install, launch, and monitor the Android app.

From plugin
zedra
1738 skills8 commands
Install
$ npx -y skills add tanlethanh/zedra --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/android-dev

Context preview

What this command does when you run it.

Build, install, launch, and monitor the Android app.

Command definition

android-dev.md

Build, install, launch, and monitor the Android app.

If the user says "preview" or "preview mode", add `--features preview` to the cargo build command.

Steps

1. **Build** the Rust libraries for Android (arm64 only, ~9s incremental):

   cargo ndk -t arm64-v8a -o ./android/app/libs build -p zedra --lib

For preview mode:

   cargo ndk -t arm64-v8a -o ./android/app/libs build -p zedra --lib --features preview

2. **Install** the APK to the connected device (skip redundant Rust build):

   cd android && ./gradlew installDebug -x buildRustLib && cd ..

3. **Launch** the app on device:

   adb shell am force-stop dev.zedra.app && adb shell am start -n dev.zedra.app/.MainActivity

4. **Monitor logs** with filtered output (zedra tags only):

   adb logcat -c && adb logcat -s zedra:V RustStdoutStderr:V AndroidRuntime:E

If any step fails, stop and report the error. Do not proceed to the next step.

When monitoring logs, keep watching for ~10 seconds and report any errors, warnings, or notable output. Use Ctrl+C or timeout to stop log monitoring.

Release build

For release builds (all architectures, optimized), use the full build script instead of step 1:

./scripts/build-android.sh         # normal mode
./scripts/build-android.sh --preview  # preview mode

And remove `-x buildRustLib` from step 2.

Ships withzedra

An experimental remote code editor on mobile with GPU-accelerated rendering powered by Zed's GPUI, P2P tunnel over QUIC/UDP by Iroh.

Get the whole plugin