JAKA
jaka is a Dart CLI for generating Android .jks keystores using values from android/key.properties.
It supports:
- Interactive mode with prompts
- Flag-based mode for CI or repeatable scripts
- Custom output directory for the generated
.jks
Install
dart pub global activate jaka
If your global pub cache bin folder is not on PATH, add it:
- Windows:
%LOCALAPPDATA%\Pub\Cache\bin - macOS/Linux:
$HOME/.pub-cache/bin
Quick Start
- Ensure your Android module has
key.properties. - Run:
jaka create
- Follow prompts.
Expected key.properties
jaka requires these keys:
storePassword=yourStorePassword
keyPassword=yourKeyPassword
keyAlias=upload
storeFile=upload-keystore.jks
storeFile defines the generated filename.
The output folder is chosen by prompt or --output-path.
Usage
jaka <command> [options]
Commands:
createGenerate Android JKS keystorehelpShow help
Create options:
-a, --android-pathPath to Android directory that must containkey.properties(default:android)-p, --output-pathFolder to store the generated.jks(default: value of--android-path, otherwiseandroid)-c, --countryCountry code, for exampleET-o, --companyOrganization/company name--cityCity/locality--stateState/region--org-unitOrganizational unit--common-nameCertificate common name (default:Android Release)
Examples
Interactive:
jaka create
Non-interactive:
jaka create ^
--android-path android ^
--output-path C:\keys ^
--country ET ^
--company "Acme Inc" ^
--city "Addis Ababa" ^
--state "Addis Ababa" ^
--org-unit "Mobile" ^
--common-name "Android Release"
Notes
- Requires
keytool(included with JDK). - The command fails early if
key.propertiesis missing from the selected Android path.
Author
emantggw- Contact: https://t.me/emantggw
License
This package is licensed under the MIT License. See LICENSE.