Skip to content

Latest commit

 

History

History
99 lines (64 loc) · 1.56 KB

File metadata and controls

99 lines (64 loc) · 1.56 KB

apkgen-cli

CLI tool for Termux to quickly generate Android APKs from a template.

Prerequisites

  • Termux (from F-Droid, not Play Store)
  • TermuxVoid repository configured

Installation

apt install apkgen-cli -y

Quick Start

# 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.apk

Commands

create <directory>

Clones the project template into a new directory and prompts for app name and package name.

apkgen create myapp

build debug

Compiles a debug APK with debug signing enabled.

apkgen build debug

build release

Compiles an unsigned release APK. Sign manually with apksigner or jarsigner.

apkgen build release

clean

Removes all build artifacts from the project directory.

apkgen clean

help

Prints usage information.

apkgen help

Command Reference

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

Output

Built APKs are placed in:

app/build/outputs/
├── myapp-debug.apk
└── myapp-release-unsigned.apk

Repository

Available via the TermuxVoid repository.


Made for Termux — TermuxVoid