Android
Android build system and deployment patterns
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 3 · 1.7k · 11 current installs · 11 all-time installs
byIván@ivangdavila
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & 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.
Assessment
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.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.1
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
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
<!-- Declare camera optional or Play Console auto-requires it -->
<uses-feature android:name="android.hardware.camera" android:required="false" />
Files
1 totalSelect a file
Select a file to preview.
Comments
Loading comments…
