Build Ladder is a Termux-first, interactive Android APK builder that lets you incrementally create, fix, and refine an Android app using guided steps β with optional Automatic AI assistance.
It is designed for:
- Building Android apps directly on-device (no PC required)
- Iterative development via small, safe βpatchβ steps
- Recovering automatically from build failures
- Users who want control, not opaque magic
Status: Alpha (Termux tested)
- β End-to-end Android APK builds in Termux
- π§© Step-by-step patch system (incremental & rollback-safe)
- π Automatic rollback on failed patches
- π©Ί
build-ladder doctorenvironment diagnostics - π€ Optional autonomous AI patch generation (local LLM supported)
- π§± Hardened for Termux (native
aapt2, SDK fixes) - β»οΈ Self-updating runtime (
build-ladder update) - π Voluntary donations only (no paywalls)
- Android device
- Termux (from F-Droid β recommended source) - https://f-droid.org/packages/com.termux/
- ~6β8 GB free storage (Android SDK + Gradle)
- Internet access (initial setup only)
pkg install git -y
git clone https://github.com/just-stuff-tm/build-ladder.git
cd build-ladder
bash installer/install.shVerify install:
build-ladder doctorExpected output: all green checkmarks β
Start (or continue) building an app:
build-ladderYou will be guided through:
- App metadata (name, goal, package)
- Incremental patch steps
- Automatic builds after each step
- Safe rollback on failure
Each step asks:
What is still wrong / missing?
You respond with intent, not boilerplate β unless you want to write code.
Build Ladder can drive itself using a local AI model (for example via Ollama).
Example:
export AI_MODE=auto
export AI_ENDPOINT=http://127.0.0.1:11434/api/generate
export AI_MODEL=deepseek-coder:6.7b
build-ladderAI mode will:
- Read project metadata
- Inspect the last Gradle failure
- Generate patch scripts automatically
- Retry safely with rollback protection
β οΈ Cloud AI is NOT bundled.
You fully control the endpoint and model.
Run anytime:
build-ladder doctorChecks:
- Java
- Gradle
- aapt2 (native Termux)
- Android SDK
Build Ladder updates itself from GitHub:
build-ladder updateThis refreshes all runtime scripts in:
~/.build-ladder/bin/
~/projects/current/
βββ app/ # Android application
βββ scripts/patches/ # Incremental patch steps
βββ .build-ladder.json # Project metadata
βββ gradle.properties
βββ local.properties
Build Ladder is free and open source.
If it saved you time or frustration, voluntary support is appreciated:
- CashApp:
$yuptm
No ads.
No tracking.
No locked features.
#android #termux #apk-builder #mobile-dev #cli-tools #open-source
MIT License
- Built and maintained by just-stuff-tm
- Powered by:
- Termux: https://termux.dev
- Android SDK & Gradle
- Open-source tooling
- Alpha quality β expect rough edges
- Termux is the primary supported environment
- Desktop Linux/macOS are untested
- Android Studio integration is not a goal