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