Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Android Signing Setup

ASecurity

Set up Android app signing safely — generate an upload keystore, enroll in Play App Signing, and wire a Gradle release signingConfig that reads secrets from a git-ignored keystore.properties / CI (never committed). Use when configuring signing for a Play release.

41 stars
0 votes
0 copies
0 views
Added 9/19/2026
developmentgokotlinbashgitapi

Works with

api

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add SteveGJones/ai-first-sdlc-practices --skill android-signing-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Signing Setup?

Add the live security badge to your README — it updates automatically with every re-scan.

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

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: android-signing-setup
description: Set up Android app signing safely — generate an upload keystore, enroll in Play App Signing, and wire a Gradle release signingConfig that reads secrets from a git-ignored keystore.properties / CI (never committed). Use when configuring signing for a Play release.
disable-model-invocation: false
argument-hint: "[path-to-android-project]"
---

# Android Signing Setup

Configure Android release signing the safe way, under **Play App Signing** (Google holds the app
signing key; you hold the upload key). Belongs to the **`sdlc-team-android`** plugin.

## Arguments

- `path-to-android-project` — the project directory (defaults to the current directory).

## The model (why the two keys matter)

Under Play App Signing, **you sign uploads with an upload key; Google re-signs with the app signing
key** it holds. If you lose the upload key you can request a reset in Play Console and keep shipping —
the single-point-of-failure of self-managed signing is gone. Best practice: the **upload key is
distinct** from the app signing key.

## Steps

### 1. Generate an upload keystore

```bash
keytool -genkeypair -v -keystore upload-keystore.jks \
  -keyalg RSA -keysize 2048 -validity 9125 -alias upload
```

- Validity ≥25 years (Play requires the certificate to extend beyond 22 Oct 2033).
- Store the `.jks` **outside the repo** (or encrypted); record the store/key passwords in a secret
  manager. Export the upload certificate if you need to register it:
  `keytool -export -rfc -keystore upload-keystore.jks -alias upload -file upload_certificate.pem`.

### 2. Wire the Gradle signingConfig without committing secrets

- Create a **git-ignored `keystore.properties`** (`storePassword`, `keyPassword`, `keyAlias`,
  `storeFile`) and load it in `build.gradle.kts`:

```kotlin
val kp = Properties().apply { load(FileInputStream(rootProject.file("keystore.properties"))) }
android {
    signingConfigs {
        create("release") {
            storeFile = file(kp["storeFile"] as String)
            storePassword = kp["storePassword"] as String
            keyAlias = kp["keyAlias"] as String
            keyPassword = kp["keyPassword"] as String
        }
    }
    buildTypes { getByName("release") { signingConfig = signingConfigs.getByName("release") } }
}
```

- **Add `keystore.properties` and `*.jks`/`*.keystore` to `.gitignore`.** In CI, inject the keystore as
  a base64 secret decoded at build time and pass passwords via env vars. Never commit either.

### 3. Enroll in Play App Signing

- New apps use Play App Signing automatically (they ship an `.aab`). For an existing app, enroll via
  Play Console → **Release → Setup → App signing** (PEPK tool to upload an existing key). Confirm the
  upload key ≠ app signing key.

### 4. Verify

- `./gradlew signingReport` shows the SHA-1/SHA-256 fingerprints per variant (needed to register API
  keys / Maps / Sign-In). Run the pre-flight checker — it flags a release build using the debug signing
  config and any committed secret in Gradle files.

### 5. Report

Confirm the release signingConfig reads from the git-ignored properties/CI, the keystore is out of the
repo, and `signingReport` shows the expected fingerprints. Note the Play App Signing enrollment status.

## Notes

- Losing the **upload** key is recoverable (Console reset); losing a self-managed **app signing** key is
  not — which is exactly why Play App Signing exists.
- For the full release flow (bundle, track, rollout) use `android-play-release`; for signing failures in
  CI, see `gradle-build-specialist` and `play-store-release-specialist`.

Attribution

SteveGJonesSteveGJones
View sourceMore from SteveGJones →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →