Android Deployment
ASecurityUse CI secrets/environment variables for the keystore path and passwords, and keep the keystore outside the repository. For example, in `app/build.gradle.kts`: ```kotlin import java.io.File val keystorePath = System.getenv("ANDROID_KEYSTORE_PATH") val keystorePassword = System.getenv("ANDROID_KEYSTORE_PASSWORD") val keyAlias = System.getenv("ANDROID_KEY_ALIAS") val keyPassword = System.getenv("ANDROID_KEY_PASSWORD") android { signingConfigs { create("release") { check(keystorePath != null) { ...
- 584 stars
- 0 votes
- 0 copies
- 2 views
- Added September 5, 2026
Security analysis
100/100Pro scans all 18 files and shows the line behind each finding
npx -y skills add HoangNguyen0403/agent-skills-standard --skill android-deployment --agent claude-codeAre you the author of Android Deployment?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-android-deployment-agent-skills-standard)Use CI secrets/environment variables for the keystore path and passwords, and keep the keystore outside the repository. For example, in `app/build.gradle.kts`:
```kotlin
import java.io.File
val keystorePath = System.getenv("ANDROID_KEYSTORE_PATH")
val keystorePassword = System.getenv("ANDROID_KEYSTORE_PASSWORD")
val keyAlias = System.getenv("ANDROID_KEY_ALIAS")
val keyPassword = System.getenv("ANDROID_KEY_PASSWORD")
android {
signingConfigs {
create("release") {
check(keystorePath != null) { "ANDROID_KEYSTORE_PATH is required for release signing" }
check(keystorePassword != null) { "ANDROID_KEYSTORE_PASSWORD is required for release signing" }
check(keyAlias != null) { "ANDROID_KEY_ALIAS is required for release signing" }
check(keyPassword != null) { "ANDROID_KEY_PASSWORD is required for release signing" }
storeFile = File(keystorePath!!)
storePassword = keystorePassword
this.keyAlias = keyAlias
this.keyPassword = keyPassword
}
}
buildTypes {
release {
signingConfig = signingConfigs.getByName("release")
}
}
}
```
Have CI materialize the keystore from its secret store at `ANDROID_KEYSTORE_PATH`, set the four variables, build, and remove the temporary keystore in cleanup. Never commit the keystore, passwords, or signing credentials. For Play Store distribution, prefer producing a signed `.aab`; use a signed APK only where an APK is specifically required.
Files in this skill
- eval-1.baseline.md
- eval-1.with-skill.md
- eval-2.baseline.md
- eval-2.with-skill.md
- eval-3.baseline.md
- eval-3.with-skill.md
- trigger-1.md
- trigger-10.md
- trigger-11.md
- trigger-2.md
- trigger-3.md
- trigger-4.md
- trigger-5.md
- trigger-6.md
- trigger-7.md
- trigger-8.md
- trigger-9.md
Attribution
Related skills
View all in development →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.