← 返回 Skills 市场
ivangdavila

Android

作者 Iván · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
2300
总下载
4
收藏
14
当前安装
2
版本数
在 OpenClaw 中安装
/install android
功能描述
Android build system and deployment patterns
使用说明 (SKILL.md)

Android Build & Deploy

ADB Essentials

# Debug builds require -t flag (agents forget this)
adb install -r -t app-debug.apk

# Filter logcat for app + errors only
adb logcat -s "YourApp:*" "*:E"

Gradle Critical Fixes

android {
    compileSdk 35
    defaultConfig {
        targetSdk 35  // MUST match or Play Console rejects
        multiDexEnabled true  // Required for 64K+ methods
    }
}

dependencies {
    // BOM prevents Compose version conflicts
    implementation platform('androidx.compose:compose-bom:2024.12.01')
}

Compose State Errors

// WRONG - recomputed every recomposition
val filtered = items.filter { it.isValid }

// CORRECT - remember expensive operations  
val filtered = remember(items) { items.filter { it.isValid } }

// WRONG - state resets on recomposition
var count by mutableStateOf(0)

// CORRECT - remember state
var count by remember { mutableStateOf(0) }

AndroidManifest Pitfall

\x3C!-- Declare camera optional or Play Console auto-requires it -->
\x3Cuses-feature android:name="android.hardware.camera" android:required="false" />
安全使用建议
This skill is instruction-only and appears coherent and low-risk: it provides Android developer commands and config snippets and does not request credentials or install code. Before using, ensure you trust the skill owner and review any commands the agent runs (e.g., adb commands will interact with connected devices). If you do not want the agent to run system commands or access devices, avoid granting the agent environment/tool access that would execute these snippets.
功能分析
Type: OpenClaw Skill Name: android Version: 1.0.1 The skill bundle contains standard Android development instructions and code snippets in `SKILL.md`, covering ADB commands, Gradle configuration, Compose state management, and AndroidManifest settings. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The instruction to the agent regarding the `-t` flag for `adb install` is a domain-specific hint aligned with the skill's stated purpose and does not constitute a malicious prompt injection attempt.
能力评估
Purpose & Capability
Name/description match the content: ADB, Gradle, Compose, and manifest guidance are appropriate for an Android build & deploy skill. No unrelated binaries, env vars, or services are requested.
Instruction Scope
SKILL.md contains targeted developer commands and code snippets; it does not instruct reading of unrelated files, harvesting environment variables, or sending data to external endpoints.
Install Mechanism
No install spec present (instruction-only), so nothing is written to disk or fetched during install.
Credentials
No environment variables, credentials, or config paths are required — requests are proportional to the stated purpose.
Persistence & Privilege
always is false and model invocation is allowed (the platform default). The skill does not request persistent or elevated privileges beyond normal agent invocation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install android
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /android 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Clean release - removed extra files
v1.0.0
Initial release
元数据
Slug android
版本 1.0.1
许可证
累计安装 15
当前安装数 14
历史版本数 2
常见问题

Android 是什么?

Android build system and deployment patterns. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2300 次。

如何安装 Android?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install android」即可一键安装,无需额外配置。

Android 是免费的吗?

是的,Android 完全免费(开源免费),可自由下载、安装和使用。

Android 支持哪些平台?

Android 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Android?

由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.1。

💬 留言讨论