Credentials. Your Claude or provider API key is stored in Android Keystore, and the agent sends prompts and project context to the model provider.
Who it is forAn Android hobbyist or student with only a phone who wants to make and test a small app without a laptop.
The problemNormally building an Android app needs a computer with Android Studio and USB or wireless debugging to install the result.
The outcomeA debug APK built on the phone is handed to Android's package installer and launches after you confirm the install.
What you need first
- ARM64 Android phone running Android 9.0 or newer
- About 2.5 GB free storage for the base runtime, more for optional toolchains
- Stable internet for setup and API calls, or the Offline APK edition
- A Claude account or an API key from a supported provider
- Permission to allow installs from Mobile Harness when Android asks
Steps
- Download the Online APK from the Mobile Harness GitHub releases page and install it on your phone.
- Open the app and run the guided bootstrap, then select the Android toolchain in the Toolchains step.
- Tap New Project, open the AI Workspace, and describe the Android app you want.
- Let the agent draft the code, then tap the workspace play button to build the debug APK.
- Confirm the Android install prompt so the app installs and launches.
Prompt for your agent
In the Mobile Harness app on an ARM64 Android phone, create a new project, ask the AI Workspace to build a simple Android app, and tap the play button. Expected output: a debug APK installed and launched on the phone. Verify that the install prompt appeared and the app opens.
Caveat. Android still requires you to allow installs from Mobile Harness and confirm each installation, and PRoot is not a hardened security jail, so only build projects you trust.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for techjarves/Mobile-Harness and "Build and install an Android app entirely on your phone"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer