Devin can build and run Android applications directly on its own machine — giving it the Android equivalent of Computer Use and browser interaction. Devin can open the app, inspect behavior, reproduce issues, and verify changes in the environment where the application actually runs. Combined with video recordings, Devin can send you a recording as proof.Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
What You Can Do
With Android emulator support enabled, Devin can handle the full mobile development loop:Build & smoke-test PRs
Devin builds and runs your app on the emulator, then clicks through critical flows after each PR. You get a video recording that proves the feature works — watch it and merge.
End-to-end mobile testing
Test complete user flows — login, navigation, form submission, checkout — on a real Android stack, not a mock. Devin follows the flow step-by-step and flags anything that breaks.
UI verification
Verify layouts, themes, and responsiveness across screen sizes and API levels. Devin takes screenshots at key points and flags visual issues like overlapping elements or clipped text.
Debug crashes & ANRs
Reproduce issues on the emulator, capture
logcat output, inspect behavior, trace the root cause, and push a fix — all in one session.Cross-platform validation
Building with React Native, Flutter, or Kotlin Multiplatform? Devin can test the Android side alongside your web or desktop builds in the same session.
Instrumented test execution
Run Espresso or UI Automator test suites on the emulator and get results reported back, without needing a separate CI device farm or physical devices.
Multi-config testing
Verify your app across different API levels or device profiles by configuring multiple AVDs. Useful for catching compatibility issues before they reach users.
How It Works
Android emulator support is built on the same declarative configuration system as the rest of Devin’s environment. You add the Android SDK and emulator to your blueprint, and Devin’s snapshot builds a VM with everything pre-installed. Every session boots from that snapshot with the emulator ready to go. During a session, Devin interacts with the emulator in two ways:| Method | What it does | When to use it |
|---|---|---|
adb (command line) | Install APKs, run tests, capture logs, take screenshots | Automated builds, instrumented tests, logcat debugging |
| Computer Use (desktop) | Tap, swipe, type, and navigate the emulator’s screen visually | End-to-end UI testing, visual verification, video recordings |
Setting Up the Emulator
- Let Devin do it (recommended)
- Manual blueprint setup
The easiest way to get started. Devin analyzes your Android project, installs the right SDK components, and configures the emulator for you.
Start a Devin session
Open a new session and ask Devin to set up Android emulation. For example: “Set up an Android emulator for this repo.”
Review and approve
Devin proposes a blueprint with the Android SDK, build tools, and emulator configuration. Review the suggestion cards in your timeline and click Approve.
What gets installed
A typical Android emulator support blueprint installs:| Component | Purpose |
|---|---|
| Android SDK command-line tools | Core SDK management (sdkmanager) |
| Platform tools | adb, fastboot for device communication |
| Build tools | aapt2, d8, zipalign for building APKs |
| Android platform (e.g., API 34) | Target API level for your app |
| Emulator + system image | The virtual device itself |
Using the Emulator
On-demand testing
Ask Devin to build and run your app at any point during a session — no special syntax needed, just natural language:- “Build and run the app on the Android emulator”
- “Test the login flow on the emulator and send me a recording”
- “Open the settings screen on the emulator and verify the new toggle appears”
- “Run the Espresso tests on the emulator and show me the results”
adb for programmatic actions and Computer Use for visual interactions.
Integration with Testing & Recordings
Android emulator support plugs directly into Devin’s Testing & Recordings workflow. After creating a PR:- Devin offers to Test the app — click the button or ask directly
- Devin builds and runs the app on the emulator and executes a focused test plan
- The emulator screen is captured in a video recording with annotations
- The recording is sent to you so you can watch the test and merge with confidence
Skill suggestions
After testing your Android app, Devin writes down what it learned — how to start the emulator, which Gradle tasks to run, how to navigate to the feature under test — and proposes creating or updating a Skill via PR. You can merge the PR as-is or tweak it to refine the instructions. Over time, this means Devin gets better at testing your Android project. Each session’s learnings build on the last — so the second time Devin tests your app, it already knows how to build it, which activity to launch, and which flows matter most. You can also prompt Devin to do this at any time (e.g., “create a skill for how to build and test this Android app”). See the Skills guide for full details.Interacting via the desktop
The Android emulator runs as a window on Devin’s Linux desktop. This means:- Devin can interact with it via Computer Use — tapping buttons, swiping, typing text, navigating between screens
- You can watch live via the Desktop tab in the Devin webapp
- Recordings capture the emulator screen alongside anything else visible on Devin’s desktop
Using adb
Devin can also interact with the emulator programmatically via adb, which is useful for:
- Installing APKs —
adb install app-debug.apk - Running instrumented tests —
adb shell am instrument -w com.example.test/androidx.test.runner.AndroidJUnitRunner - Capturing logs —
adb logcatto debug crashes or unexpected behavior - Taking screenshots —
adb exec-out screencap -p > screenshot.png - Simulating user input —
adb shell input tap 500 800for scripted interactions
adb and Computer Use depending on the task — adb for speed and automation, Computer Use for visual verification and complex UI flows.
Blueprint Examples
Copy-paste blueprints for common Android setups. Each template is self-contained — paste it into your blueprint editor and save.Native Android (Kotlin/Java + Gradle)
Native Android (Kotlin/Java + Gradle)
React Native
React Native
Flutter
Flutter
Kotlin Multiplatform
Kotlin Multiplatform
Troubleshooting
Emulator won’t start
Common causes: KVM not available in the VM, insufficient memory, or a missing system image. Fix: Devin can attempt to configure KVM automatically when it detects the emulator needs hardware acceleration — in most cases, this resolves the issue without manual intervention. If KVM still isn’t available after Devin’s attempt, the emulator can fall back to software rendering mode — add-no-accel to the emulator launch command, though performance will be reduced. Also check that your blueprint installs the emulator and a compatible x86_64 system image.
Build fails with SDK errors
Common causes: Missing SDK components, incorrectANDROID_HOME path, or Gradle can’t find the right build tools version.
Fix: Verify that ANDROID_HOME is set correctly in your blueprint and that sdkmanager installs the platform version and build tools version your project requires. Check your project’s build.gradle for compileSdk, targetSdk, and buildToolsVersion and match them in the blueprint.
Emulator is slow
The Android emulator runs inside Devin’s VM, so performance depends on the system image and rendering mode. Tips:- Use
x86_64system images (not ARM) for hardware-accelerated emulation - Use
-gpu swiftshader_indirectfor software rendering that doesn’t require GPU passthrough - Use
-no-window -no-audiowhen Devin doesn’t need the visual display (e.g., running instrumented tests viaadb) - Consider a lower-resolution device profile if visual fidelity isn’t critical
Devin can’t interact with the emulator screen
Common causes: Desktop mode is not enabled, the emulator window is not visible, or the emulator is running in headless mode. Fix: Ensure Desktop mode is enabled in your organization’s settings. If you need Devin to visually interact with the emulator, launch it without the-no-window flag so the emulator GUI appears on Devin’s desktop. Check that the emulator has fully booted (adb shell getprop sys.boot_completed should return 1) before asking Devin to interact with it.