Skip to content
Development
Command

/android-build

Build the Rust libraries and install the APK to the connected Android device. Does NOT launch the app or monitor logs.

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-build

Context preview

What this command does when you run it.

Build the Rust libraries and install the APK to the connected Android device. Does NOT launch the app or monitor logs.

Command definition

android-build.md

Build the Rust libraries and install the APK to the connected Android device. Does NOT launch the app or monitor logs.

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

1. **Build** (arm64 only, fast 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 android-platform preview

2. **Install** (skip redundant Rust build):

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

Report success or failure. If the build fails, show the relevant compiler errors.

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