CLI tool for Termux to quickly generate Android APKs from a template.
- Termux (from F-Droid, not Play Store)
- TermuxVoid repository configured
apt install apkgen-cli -y# Scaffold a new project
apkgen create myapp
# Enter the project directory
cd myapp
# Build a debug APK
apkgen build debug
# Output: app/build/outputs/myapp-debug.apkClones the project template into a new directory and prompts for app name and package name.
apkgen create myappCompiles a debug APK with debug signing enabled.
apkgen build debugCompiles an unsigned release APK. Sign manually with apksigner or jarsigner.
apkgen build releaseRemoves all build artifacts from the project directory.
apkgen cleanPrints usage information.
apkgen help| Command | Description |
|---|---|
create <dir> |
Scaffold project with custom app name and package |
build debug |
Build debug-signed APK |
build release |
Build unsigned release APK |
clean |
Remove build outputs |
help |
Show help text |
Built APKs are placed in:
app/build/outputs/
├── myapp-debug.apk
└── myapp-release-unsigned.apk
Available via the TermuxVoid repository.
Made for Termux — TermuxVoid