DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build and run a Gradle app on a live Android device with DSH Android

Stream a device, build the debug APK, install it, and check the first screen from one conversation.

Short answer: Run adb devices -l through android_devices and note the serial of the online emulator or phone; then call android_boot with that serial so the live stream appears in the panel; call android_build_run with the Gradle project path, which runs ./gradlew assembleDebug, then adb install -r, then launches the app. All steps.

Authorization notice. DSH Android is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forAn Android developer who wants to test a Gradle project on an emulator or USB phone without switching windows.

The problemBuilding, installing, and launching an Android app by hand takes several separate commands, and checking the result means picking up the device.

The outcomeThe app is built, installed, and launched on the chosen device, and the live panel shows the result.

What you need first

  • A DeepSeek Harness (DSH) host, tested by the author with DSH 0.1.5-rc.1
  • adb available on the machine so the plugin can resolve it
  • A running Android emulator or a USB-connected Android phone
  • For builds: a Gradle project that has ./gradlew

Steps

  1. Run adb devices -l through android_devices and note the serial of the online emulator or phone.
  2. Call android_boot with that serial so the live stream appears in the panel.
  3. Call android_build_run with the Gradle project path, which runs ./gradlew assembleDebug, then adb install -r, then launches the app.
  4. Call android_screenshot to confirm the first screen, and use android_interact to tap through it.
  5. If the build fails, read the Gradle error tail in the result, then call android_logs in snapshot mode with bundle_id set to the package name.

Prompt for your agent

Using the dsh-android plugin, call android_devices, pick the online serial, call android_boot with it, then call android_build_run with projectPath set to <path to the Gradle project>. Expected output: a result showing the debug APK installed and the app launched, plus a screenshot path. Verify that the install and launch both succeeded before reporting done.

Caveat. The first full Gradle build takes minutes, and the plugin only works when adb can be resolved on the machine.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for ZSeven-W/dsh-android and "Build and run a Gradle app on a live Android device"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer