Android build system and deployment patterns
Scanned 9/23/2026
Install to Claude Code
npx -y skills add lxyeternal/MalSkillBench --skill android --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Android?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lxyeternal-android-malskillbench)More formats (shields.io, HTML) on the badges page.
---
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" />
```Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!