openclawv1.0.0

Android Gradle Skills

Thatgfsj@Thatgfsj⭐ 0 stars· last commit 1mo ago· 0 open issues

OpenClaw skill for Android app development with Gradle build system. Includes AGP/Gradle version compatibility, project templates, and build automation scripts.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

7.1/10
Verified
Mar 30, 2026

// RATINGS

⭐GitHub Stars
⭐ 0 on GitHubGitHub ↗

New / niche

🟢ProSkills ScoreAI Verified
7.1/10
📍

Not yet listed on ClawHub or SkillsMP

// README

android-gradle-skills

Build Status License AGP Gradle

供 AI agent 使用的 Android Gradle 构建技能包(OpenClaw / agent skills 格式): AGP/Gradle/JDK 版本兼容知识、项目脚手架、构建自动化脚本、排错手册。

数据截至 2026-09-09(AGP 9.4.0 稳定线)。使用前请按 SKILL.md 文末的官方链接核对版本时效。

What is this?

A skill for OpenClaw-style agent runtimes that provides Android development knowledge: AGP/Gradle/JDK compatibility, project scaffolding, build automation scripts, and troubleshooting guides.

Standard Tech Stack

CategoryTech
LanguageKotlin 2.4(AGP 9 内置 Kotlin,无需 kotlin-android 插件)
UI FrameworkJetpack Compose (Material 3, BOM 2026.08.00)
Min SDKAPI 26 (Android 8.0)
Compile SDKAPI 37.2(androidx 稳定版要求 ≥ 37;compileSdk { version = release(37) { minorApiLevel = 2 } })
Target SDKAPI 36 (Android 16) — Google Play 2026-08-31 起强制要求
Architecture单模块起步,按需演进 MVVM / 多模块
Build ToolsGradle 9.7.1 + AGP 9.4.0(JDK 17+)

Version Compatibility

来源:官方 AGP 兼容表。

AGP最低 Gradle最低 JDK最低 Build Tools
8.7.x8.9JDK 17+34.0.0
8.8.x8.10.2JDK 17+34.0.0
8.9.x8.11.1JDK 17+35.0.0
8.10.x8.11.1JDK 17+35.0.0
8.11.x–8.13.x8.13JDK 17+35.0.0
9.0.x9.1.0JDK 17+36.0.0
9.1.x9.3.1JDK 17+36.0.0
9.2.x9.4.1JDK 17+36.0.0
9.3.x9.5.0JDK 17+36.0.0
9.4.x9.6.0JDK 17+36.0.0

注意:AGP 版本并不约束 minSdk——minSdk 由项目自定,上表没有也不应有该列。 AGP 9.0 起内置 Kotlin(不再需要 org.jetbrains.kotlin.android 插件),详见 SKILL.md。

Quick Start

Create a new project

python android-gradle/scripts/init_android_project.py MyApp /path/to/projects

Or use interactive mode:

python android-gradle/scripts/init_android_project.py --interactive

This generates a complete, build-ready Android project with:

  • Kotlin DSL build files(build.gradle.kts)
  • 官方 Gradle wrapper(从 Gradle GitHub 下载对应版本的真实 wrapper)
  • Jetpack Compose + Material 3 模板
  • Version Catalogs(gradle/libs.versions.toml,按需生成)

Build APK

cd /path/to/MyApp
./gradlew assembleDebug    # Debug APK
./gradlew assembleRelease  # Release APK

Project Structure

android-gradle-skills/
├── SKILL.md                    # agent 入口(任务路由 + 版本矩阵)
├── gradle/
│   └── libs.versions.toml      # 推荐版本基线(单一来源)
├── build-logic/                # Convention Plugin 模板(可直接 includeBuild)
│   └── conventions/
├── android-gradle/
│   ├── scripts/
│   │   ├── init_android_project.py
│   │   ├── ai/                 # AI 调用脚本
│   │   └── ops/                # 运维脚本
│   └── references/             # 知识库(7 篇)
├── examples/
│   ├── basic-compose-app/      # ✅ 可构建的完整示例(含 wrapper,CI 持续验证)
│   ├── multi-module-clean/     # 设计文档(尚无代码)
│   └── dynamic-feature/        # 设计文档(尚无代码)
└── .github/
    ├── workflows/validate.yml  # 语法校验 + 示例真实构建
    └── dependabot.yml

Skill Triggers

This skill activates when you say things like:

  • "Android项目" / "创建Android项目"
  • "Gradle构建" / "打包APK"
  • "AGP版本" / "Gradle版本" / "AGP 9"
  • "build.gradle" / "kotlin-dsl"
  • "Jetpack Compose"
  • "签名打包" / "Android CI"

Setup Requirements

  1. JDK 17+ — AGP 8.x/9.x 均要求 JDK 17 以上,JDK 8 不可用

    export JAVA_HOME=/path/to/jdk-17
    
  2. Android SDK — 设 ANDROID_HOME 或在项目 local.properties 写:

    sdk.dir=/path/to/your/android/sdk
    
  3. Gradle — 使用 wrapper,无需单独安装

Contributing

See CONTRIBUTING.md。特别欢迎:更新过时版本号(标注数据日期)、补充 排错案例、让 design-doc 示例落地为可构建工程。

License

MIT - free to use, modify, and distribute.

// REPO STATS

0 stars
0 open issues
Last commit: 1mo ago