bluedev.in hello@bluedev.in

Flutter package

Generate Signin Key

A command-line tool for generating and inspecting Android signing keys, without leaving your terminal.

MIT AndroidiOSLinuxmacOSWindows

Overview

Generating an Android release keystore and reading its signing report means remembering keytool flags and finding the right gradlew task. generate_signin_key wraps both: it finds your Android project directory automatically, runs ./gradlew signingReport for you, and can generate a new release keystore through an interactive prompt.

Features

  • Automatic detection of the Android project directory
  • Runs the ./gradlew signingReport task and streams progress in real time
  • Interactive new release keystore generation
  • Finds keytool automatically in common install locations
  • Outputs to the terminal or exports to a file
  • Optional clean build before generating keys

Installation

pubspec.yaml
dev_dependencies:
  generate_signin_key: ^1.1.1
Global install
dart pub global activate generate_signin_key

Usage

Terminal
dart run generate_signin_key
dart run generate_signin_key --new        # generate a new release keystore
dart run generate_signin_key --keyexport  # export credentials
dart run generate_signin_key --run        # display the signing report
dart run generate_signin_key --output     # save the report to a file
dart run generate_signin_key --clean      # run gradlew clean first

Security: never commit your keystore file (.jks), key.properties, or exported credential files to GitHub or any public repository.

Read this offline

The same write-up as a .docx file, if you'd rather share it or keep a copy.

Download .docx

Links