Build, install, launch, screenshot, and cleanup mechanics for automated reproduction of site breakage on Cursor self-hosted Android agents in `ddg-native-android`. Use when setting up a device for automated site breakage triage repro runs.
75
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
npm run android:build for build smoke.npm run android:install when the target AVD does not already have DDG installed.adb install -r android/app/build/outputs/apk/internal/debug/<apk-name>ddg_pixel9_api35 as a known-good AVD.emulator -avd ddg_pixel9_api35 -no-window -no-snapshot-save -no-boot-anim -gpu swiftshaderIf the emulator crashes, disappears from ADB, or fails to capture screenshots, retry once with:
emulator -avd ddg_pixel9_api35 -no-window -no-snapshot-save -no-boot-anim -gpu lavapipeRecord the GPU mode used in the required output. Keep the proxy, URL, app package, and screenshot workflow unchanged between attempts.
timeout, especially screencap, dumpsys, uiautomator, and clean up adb shell commands.adb -s <serial> ...Use the debug package explicitly:
adb shell am start -W -a android.intent.action.VIEW -d '<url>' com.duckduckgo.mobile.android.debugPrefer device-file screenshots; avoid adb exec-out screencap -p because it may hang.
adb shell screencap -p /sdcard/screenshot_initial.png
adb pull /sdcard/screenshot_initial.png /opt/cursor/artifacts/<dir>/screenshot_initial.pngIf screenshots are blocked by Application Not Responding: com.google.android.apps.nexuslauncher, verify DDG is foreground/responsive first.
adb shell input keyevent BACK
adb shell am force-stop com.google.android.apps.nexuslauncherThen relaunch the URL activity and report the cleanup in the required output.
/data/local/tmp/webview-command-line from every AVD touched7809186
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.