惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
H
Help Net Security
Jina AI
Jina AI
V
V2EX
G
Google Developers Blog
B
Blog
GbyAI
GbyAI
U
Unit 42
爱范儿
爱范儿
腾讯CDC
Engineering at Meta
Engineering at Meta
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
小众软件
小众软件
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
博客园 - 聂微东
The Cloudflare Blog
I
InfoQ
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - Blog
大猫的无限游戏
大猫的无限游戏

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
Android emulator support - Devin Docs
Alextigtig · 2026-05-14 · via Hacker News - Newest: "AI"

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.

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.

What You Can Do

With Android emulator support enabled, Devin can handle the full mobile development loop:

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:

MethodWhat it doesWhen to use it
adb (command line)Install APKs, run tests, capture logs, take screenshotsAutomated builds, instrumented tests, logcat debugging
Computer Use (desktop)Tap, swipe, type, and navigate the emulator’s screen visuallyEnd-to-end UI testing, visual verification, video recordings

The emulator window runs on Devin’s desktop, so you can watch Devin interact with your app in real time via the Desktop tab in the webapp.

Setting Up the Emulator

What gets installed

A typical Android emulator support blueprint installs:

ComponentPurpose
Android SDK command-line toolsCore SDK management (sdkmanager)
Platform toolsadb, fastboot for device communication
Build toolsaapt2, d8, zipalign for building APKs
Android platform (e.g., API 34)Target API level for your app
Emulator + system imageThe 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”

Devin will launch the emulator (if it isn’t already running), build and run your app, and interact with it — using 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:

  1. Devin offers to Test the app — click the button or ask directly
  2. Devin builds and runs the app on the emulator and executes a focused test plan
  3. The emulator screen is captured in a video recording with annotations
  4. The recording is sent to you so you can watch the test and merge with confidence

This works the same way as web app testing — the only difference is that Devin interacts with the emulator window instead of Chrome.

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

For details on how desktop interaction works, see Computer Use.

Using adb

Devin can also interact with the emulator programmatically via adb, which is useful for:

  • Installing APKsadb install app-debug.apk
  • Running instrumented testsadb shell am instrument -w com.example.test/androidx.test.runner.AndroidJUnitRunner
  • Capturing logsadb logcat to debug crashes or unexpected behavior
  • Taking screenshotsadb exec-out screencap -p > screenshot.png
  • Simulating user inputadb shell input tap 500 800 for scripted interactions

Devin chooses between 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.

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, incorrect ANDROID_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_64 system images (not ARM) for hardware-accelerated emulation
  • Use -gpu swiftshader_indirect for software rendering that doesn’t require GPU passthrough
  • Use -no-window -no-audio when Devin doesn’t need the visual display (e.g., running instrumented tests via adb)
  • 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.