Skip to content
Back to skills

Android

ASecurity

Android build system and deployment patterns

  • 17 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added May 29, 2026
devopskotlinbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 29, 2026

npx -y skills add clawic/skills --skill android --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clawic-android/badge)](https://www.skillsdirectory.com/skills/clawic-android)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android
description: Android build system and deployment patterns
---

# Android Build & Deploy

## ADB Essentials

```bash
# 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

```gradle
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

```kotlin
// 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

```xml
<!-- Declare camera optional or Play Console auto-requires it -->
<uses-feature android:name="android.hardware.camera" android:required="false" />
```

Files in this skill

  • SKILL.md1.2 KB
  • _meta.json166 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.