AgentSkillsCN

deploy-debug

在 Android 模拟器上构建、安装并启动调试 APK,同时保留已保存的账户信息。

SKILL.md
--- frontmatter
name: deploy-debug
description: Build, install, and launch debug APK on Android emulator while preserving saved accounts
allowed-tools: Bash
user-invocable: true
model: claude-3-5-haiku-latest

Deploy Debug

Builds and deploys the debug APK to an Android emulator, preserving existing app data.

Instructions

Run the build script with the following options:

powershell
powershell -NoProfile -ExecutionPolicy Bypass -File mobile-app/scripts/build-with-secrets.ps1 -BuildType debug -InstallToEmulator -StartEmulator -SkipUninstall

Options

  • -BuildType debug: Build in debug mode
  • -InstallToEmulator: Install to connected emulator
  • -StartEmulator: Auto-start emulator if none running
  • -SkipUninstall: Preserve saved accounts and app data

When to Use

  • Testing code changes on Android
  • Debugging the app on emulator
  • Quick iteration during development