360 Secure SkillHub
360 安全技能中心

android build tool

面向 Android 与 Flutter+Android 项目的移动开发环境工具:检测项目与代理,识别 Flutter、Android 生态(Gradle、Build Tools、SDK、NDK、cmake)与 Java 版本,检查并下载缺失依赖,配置项目与全局环境变量及 SDK 快捷命令,并支持从源码构建项目。提供 pi_claw.py 脚本与 pi 命令两种调用方式。

noah-smith-max
noah-smith-max
热度 61.13
最近更新 2026-05-18 12:12:02
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:DevOps / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add android-build
Metadata
name
pi-project
description
A tool for downloading and configuring Android SDKs for projects, supporting Windows and macOS. Invoke when user needs to manage mobile SDKs, configure project environments, or build mobile projects.

Pi Project

A tool for downloading and configuring Android SDKs for projects, supporting Windows and macOS.

Features

Environment Detection

  • Project detection
  • Proxy detection (Use proxy for chinese network if proxy detected)

Dependency Detection

Detect version information for:

  • Flutter
  • Android ecosystem (Gradle, Build Tools, SDK, NDK, cmake)
  • JAVA

Check & Download

  • Check if dependencies are installed
  • Download missing dependencies

Environment Config

  • Configure environment variables for the project to be used by code editors
  • Configure necessary global environment variables
  • For SDKs with strict version sensitivity (e.g., Flutter), configure shortcut commands in the project root directory

Build

  • Build the project from source code

Usage

Using pi_claw.py (Recommended)

  • Run python pi_claw.py help to show help information
  • Run python pi_claw.py detect /path/to/your/project to detect project dependencies
  • Run python pi_claw.py /path/to/your/project to download SDK and configure project
  • Run python pi_claw.py build /path/to/your/project to build the project from source code

Using pi directly

  • Run pi help to show help information
  • Run pi detect /path/to/your/project to detect project dependencies
  • Run pi /path/to/your/project to download SDK and configure project
  • Run pi build /path/to/your/project to build the project from source code

Supported Platforms

  • Windows
  • macOS

Supported Project Types

  • Android projects
  • Flutter + Android projects

Download