Android Build: Install, Source and Security | FunnelSlayer

Android Build

Published by binary-dracula in breezejp

Audit unavailable1 installs

What this skill does

Build Flutter Android AAB and APK, then copy both artifacts to release/. Use when: android 打包, 生成 aab, 生成 apk, 发布包构建, release 产物输出。

Add Android Build to your agent

Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.

Install with a prompt

Paste this into a compatible coding agent:

add this skill "android-build" from https://github.com/binary-dracula/breezejp

Install with the CLI

Run this command in a controlled environment after reviewing the repository:

npx skills add https://github.com/binary-dracula/breezejp --skill android-build

Skill instructions

Android Build

规范化 Flutter Android 发布包打包流程,确保 .aab 和 .apk 两种产物统一输出到项目根目录 release/,并使用固定命名规则。

When to Use

  • 需要生成 Android 发布包(.aab 和 .apk)
  • 需要统一 release 产物命名与输出路径
  • 用户提到「打包 Android」「构建 AAB」「构建 APK」「发布构建」

Skill Resources

Procedure

  1. 在项目根目录确认 pubspec.yaml 存在,且 version 字段正确。
  2. 运行脚本: python3 .agents/skills/android-build/scripts/android_build.py
  3. 脚本会依次执行 flutter build appbundle --release 和 flutter build apk --release。
  4. 产物分别从 build/app/outputs/bundle/release/app-release.aab 与 build/app/outputs/flutter-apk/app-release.apk 复制到 release/。
  5. 最终文件名为 breeze_jp_v{version}_release.aab 和 breeze_jp_v{version}_release.apk(version 取自 pubspec.yaml 的主版本,不含 +build)。

Output

  • release/breeze_jp_v{version}_release.aab
  • release/breeze_jp_v{version}_release.apk

Validation

  1. 检查终端返回码为 0。
  2. 确认 release/ 下生成目标 .aab 和 .apk 文件。
  3. 文件名版本号与 pubspec.yaml 一致。

Files included

  • scripts/android_build.py
  • SKILL.md

More skills