Skip to content
Back to skills

Android Emulator

ASecurity

Run and test the MagentaLine Flutter app on Android emulators. Use when the user asks to test on Android, run the emulator, start the phone/tablet emulator, or test on mobile devices. This skill handles launching AVDs, waiting for boot, deploying the Flutter app, and troubleshooting common emulator issues.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
developmentjavabashtestingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill android-emulator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Emulator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Emulator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-android-emulator/badge)](https://www.skillsdirectory.com/skills/david-li0406-android-emulator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android-emulator
description: Run and test the MagentaLine Flutter app on Android emulators. Use when the user asks to test on Android, run the emulator, start the phone/tablet emulator, or test on mobile devices. This skill handles launching AVDs, waiting for boot, deploying the Flutter app, and troubleshooting common emulator issues.
---

# Android Emulator Testing

## Quick Start

### 1. Launch Emulator
```bash
.claude/skills/android-emulator/scripts/launch_emulator.sh phone
```

### 2. Run Flutter App
```bash
.claude/skills/android-emulator/scripts/run_flutter_app.sh
```

Or manually:
```bash
cd /Users/william/Workspaces/MagentaLine/app && flutter run -d emulator-5554
```

## Available AVDs

| Name | Form Factor | Resolution |
|------|-------------|------------|
| `Medium_Phone_API_36.1` | Phone | 1080x2400 |
| `Medium_Tablet_API_36` | Tablet | 2560x1600 |

## Manual Commands

### Start Phone Emulator
```bash
export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"
~/Library/Android/sdk/emulator/emulator -avd Medium_Phone_API_36.1 -no-snapshot-load &
sleep 45 && flutter devices
```

### Stop Emulator
```bash
pkill -f "qemu-system-aarch64"
~/Library/Android/sdk/platform-tools/adb kill-server
```

## Troubleshooting

**Device shows offline**: Wait longer (2+ min on first boot), or restart ADB:
```bash
~/Library/Android/sdk/platform-tools/adb kill-server && ~/Library/Android/sdk/platform-tools/adb start-server
```

**Tablet emulator permission errors**: Known issue on Apple Silicon. Use Android Studio Device Manager GUI or test tablet layouts in Chrome.

**Build failures**: Run `flutter doctor -v` to diagnose.

Files in this skill

  • SKILL.md1.6 KB
  • scripts/launch_emulator.sh1.3 KB
  • scripts/run_flutter_app.sh490 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…