New
Apps 5,757Makers 5,735This week 14
Promote your app−30%
AndroJack — The Jack of All Android Trades screenshot 1
2views in
the last 30 days

AndroJack — The Jack of All Android Trades

AndroJack: AI that actually knows Android

Built with Claude Code

by vikas9793 · from INIndia · added Nov 2, 2026
no ratings0 comments

AndroJack Banner

AndroJack — The Jack of All Android Trades

An MCP server that equips your AI coding assistant with live, verified Android knowledge — so it builds from official sources, not from memory.


Install in VS Code Install in Claude Desktop Install in Cursor Add to Kiro View on npm


Official Product Page Watch AndroJack in Action on YouTube


Also works with: Windsurf · VS Code Copilot · Google Antigravity · JetBrains AI — see Manual Config below ↓

VS Code distribution: Also live on the VS Code Marketplace as AndroJack MCP for VS Code.


Table of Contents


🔥 The Crisis That Created This Tool

In 2025, the Stack Overflow Developer Survey asked 49,000 developers about their experience with AI coding tools. The results should alarm every Android engineer:

  • 84% of developers now use AI coding tools — up from 76% the year before.
  • Trust in AI accuracy collapsed from 40% to just 29% in a single year.
  • 35% of all Stack Overflow visits in 2025 are now triggered by developers debugging and fixing AI-generated code.

The gap between usage and trust is not a coincidence. It is the product of a structural problem: AI models predict tokens, not APIs. They were trained on a snapshot of the world and have no mechanism to know what changed at API 30, what shipped at Google I/O 2025, or what Google Play now rejects at review time.

For Android developers, this failure mode is uniquely dangerous. Android has the fastest-moving ecosystem in mobile development — a new Compose BOM every month, Navigation 3 going stable after seven years of Nav2, Android 16 rewriting the rules on screen orientation locking — and most AI tools have training data that is six months to two years stale by the time you use them.

The result is not just bad code. It is confidently bad code.


⚡ What Actually Breaks In Practice — Documented Evidence

These are not hypothetical risks. They are documented failure modes from real developer projects.

The Navigation 3 Hallucination (January 2026)

A published case study from Atomic Robot documented a live Navigation 2 → Navigation 3 migration using both Gemini and Claude — with internet access enabled on both. The conclusion, verbatim:

"LLMs still hallucinate versions. Even with internet access, both agents wanted to use an outdated release candidate instead of the stable 1.0.0 release."

Navigation 3 went stable in November 2025 after seven years of the same library. It is a complete architectural rethink: back stacks are now plain Kotlin lists, the monolithic nav graph is gone, and NavDisplay replaces NavController. Google's own migration guide is so aware that AI tools get this wrong that it now contains special "AI Agent:" annotations — instructions embedded directly in the official docs for AI tools to follow. An AI tool that generates Nav2 code for a new Compose project in 2026 is not making a small mistake. It is creating an architectural incoherence that requires a full rewrite to fix.

The Compose Deprecation Treadmill

Jetpack Compose ships a new BOM every month. Since most models' training cutoffs, these APIs changed:

API Status What goes wrong
ContextualFlowRow / ContextualFlowColumn Deprecated in Compose 1.8 AI still generates them — compile warning today, removal tomorrow
TestCoroutineDispatcher Removed from coroutines-test 1.8+ AI still generates it — non-deterministic test failures in CI
FlowRow overflow parameter Deprecated in 1.8 Subtle behavioral regression at runtime, silent in most linting setups
AnchoredDraggableState.confirmValueChange Deprecated Incorrect drag behavior at anchor boundaries
Navigation 2 in new projects Superseded by Nav3 stable Nov 2025 Architectural dead-end that requires a rewrite to fix

Every one of these compiles. Most run without errors. The bugs surface later in CI flakiness, UI regressions, or Play Store review failures.

The Android 16 / API 36 Mandate (in force since August 31, 2026)

Android 16 made a platform-level change affecting every published app: on devices ≥600dp — tablets, foldables, ChromeOS — apps can no longer lock screen orientation or restrict resizability. Since August 31, 2026, Google Play requires new apps and updates to target API 36 (extension available to November 1, 2026). Android 17 / API 37 removes the remaining opt-out.

An AI tool generating android:screenOrientation="portrait" or android:resizeableActivity="false" today is generating code that triggers App Compatibility warnings in Play Console, fails large-screen quality checks, and gets apps demoted in Play Store search results.

The business impact is not theoretical: Foldable users spend 14× more on apps than phone-only users. Tablet + phone users spend 9× more. FlipaClip saw 54% growth in tablet users within four months of going adaptive.

The KMP Silent Failure

Kotlin Multiplatform went mainstream in 2025 — over 900 new KMP libraries published, Room added KMP support, companies now hire specifically for KMP skills. When a developer on a KMP project asks an AI tool to add database support, the AI generates Android-only Room code. It compiles. It runs perfectly on Android. The iOS build fails. The developer spends hours debugging before realizing the root cause: their AI tool does not know KMP exists.


🧩 What AndroJack Does

AndroJack is a documentation-grounded Android engineering MCP server. It gives your AI coding assistant 23 specialized tools that fetch live, verified answers from official Android and Kotlin sources — instead of predicting from stale training data.

It does not make the AI smarter. It makes the AI accountable to evidence.

Think of it as a pre-build linter for LLMs. While other tools retrieve documentation, AndroJack acts as a strict architectural gatekeeper.

Without AndroJack:  You ask → AI predicts from stale weights → Code (possibly wrong)

With AndroJack:     You ask → AI calls tool → Tool fetches official source live
                             → AI reads verified answer → Code (grounded)

⚠️ Honest Activation Model — Two Levels

Important

This is the most important thing to understand before you install AndroJack.

Level What's Active What the AI Does
Level 1 — Tools only 23 tools registered in IDE AI may call the right tool. Depends on the IDE and the AI's judgment.
Level 2 — Tools + Grounding Gate 23 tools + mandatory pre-generation rulebook AI must call the correct tool for every decision before writing code.
Level 3 — Full loop-back Level 2 + android_code_validator AI validates every code block against 34 rules. Errors must be fixed before the user sees the code.

Level 1 is passive. The tools are available but the AI decides when to use them. An AI building a Compose screen may call architecture_reference but skip material3_expressive — and ship M3E violations silently.

Level 2 is active. The androjack_grounding_gate system prompt maps every task type to the correct tool. Building Compose UI? The AI is mandated to call material3_expressive first. Adding a dependency? It must call gradle_dependency_checker. No exceptions.

Level 3 is the loop-back. android_code_validator runs on every code block the AI generates before returning it to the user. 34 rules covering removed APIs, deprecated patterns, Android 16/17 compliance, and Compose-First migration signals. Comments are ignored, so a migration note like // replaced AsyncTask never triggers a false FAIL. Results come back as text and as structuredContent with an output schema. Verdict FAIL means the AI must fix and re-validate — the user never sees the broken code.

→ For full grounding, always activate Level 2 + Level 3. See Getting the Full Guarantee below.


🪲 What Can Still Break — Even at Level 3

Important

AndroJack is a documentation-grounding and API-validation tool. It is not a Compose layout engine, a design system enforcer, or a runtime renderer. Level 3 catches removed APIs and deprecated patterns. It cannot catch every class of Android bug. This is not a limitation of AndroJack — it is a fundamental property of static text analysis applied to a visual, runtime-rendered UI framework.

The following bugs were encountered in a real Android app built with AndroJack at Level 2 (v1.4.0). They are documented here honestly so you know exactly what to watch for — and where to reach for different tools.

✅ What Level 3 Catches

// ❌ REMOVED — android_code_validator fires: REMOVED_ASYNCTASK
class MyTask : AsyncTask<Void, Void, String>()

// ❌ REMOVED — fires: REMOVED_TEST_COROUTINE_DISPATCHER
val dispatcher = TestCoroutineDispatcher()

// ❌ DEPRECATED — fires: DEPRECATED_CONTEXTUAL_FLOW_ROW
ContextualFlowRow { Text("hello") }

// ❌ LEAK — fires: GLOBALSCOPE_LAUNCH
GlobalScope.launch { fetchData() }

⚠️ What Level 3 Cannot Catch

Warning

The following bugs were found in a real project. They are valid, API-current Compose code that violates design system constraints, accessibility minimums, or architectural boundaries. Static text scanning cannot detect them.

Bug PH-UI-001 — Segmented button text truncation
// Compiles and runs. Level 3 sees no violation.
// The bug: Text inside MultiChoiceSegmentedButtonRow truncates because a
// fixed height modifier prevents the Roboto Flex variable font from expanding.
MultiChoiceSegmentedButtonRow {
    SegmentedButton(/* fixed height modifier */) {
        Text("Light")
    }
}

Note

This is an absence bug. The correct modifier is missing — no wrong one is present. Use visual testing or runtime inspection.

Bug PH-UI-003 — Disabled button contrast failure
// Correct Material 3 API. Level 3 sees no violation.
// The bug: disabled state colours fail WCAG AA 4.5:1 contrast against surface.
Button(enabled = false, onClick = {}) {
    Text("INITIALIZE VAULT")
}

Note

This is a runtime visual property bug. Use paparazzi screenshot tests or Google's Accessibility Scanner.

Bug PH-AR-004 — Raw stack trace rendered to end user
// A missing try/catch produces no pattern match.
class VaultViewModel : ViewModel() {
    fun initializeVault() {
        viewModelScope.launch {
            val result = repository.initialize() // Missing try/catch
            _uiState.value = UiState.Success(result)
        }
    }
}

Warning

UDF architecture violations require Detekt with custom rules or unit tests verifying exception mapping.


🗂️ Defence-in-Depth: The Right Tool for Each Bug Class

Bug Class Real Example Right Tool
Removed / deprecated API AsyncTask, TestCoroutineDispatcher ✅ AndroJack Level 3
Android 16 violations screenOrientation, resizeableActivity=false ✅ AndroJack Level 3
Android 17 violations static final reflection, LAN without permission ✅ AndroJack Level 3
Architecture (flagged root) GlobalScope leaking to UI ✅ AndroJack Level 3
Absent modifier / missing constraint PH-UI-009 (innerPadding) 🔧 Android Lint / IDE inspector
Runtime contrast / colour failures PH-UI-003 (WCAG) 🔧 paparazzi + Accessibility Scanner
Touch target violations PH-UX-008 🔧 Accessibility Scanner
Architecture boundary (missing catch) PH-AR-004 (stack trace to UI) 🔧 Detekt + ViewModel unit tests

🎯 The Killer Argument

"Can your agents.md file tell me the Gradle version that shipped last Tuesday?"

No markdown file can. No rules in .cursorrules can. No SKILL.md can.

✅ Only a live tool call can.

That's the job AndroJack exists to do — and nothing else in the current ecosystem does it for Android specifically.

What you need agents.md / SKILL.md AndroJack MCP
Format output a specific way ✅ Perfect Works too
Follow team conventions ✅ Perfect Works too
Latest Gradle version right now ❌ Guesses from memory ✅ Fetches live
Is AsyncTask removed? ❌ May be wrong ✅ Verified against SDK
Android 16 Play Store rules ❌ Unknown ✅ Official source

Prompt engineering controls how the AI responds. MCP controls what the AI knows.


✨ What AndroJack Covers — 23 Tools

# Tool What It Does What Breaks Without It
1 🔍 search Official doc excerpts — Google Developer Knowledge API (optional key) or a verified index of canonical pages AI reasons from memory — possibly wrong today
2 ⚠️ component Deprecated/removed check on 40+ APIs Compiles fine, breaks at runtime/review
3 📐 architecture Guides for 40+ topics — MVVM, Nav3, MVI... AI gives 2022 advice; misses Nav3
4 🐛 debugger Parses stacktraces → official docs + Issue Tracker link AI hallucinates fixes for known bugs
5 📦 gradle Live lookup from Google Maven (highest stable, pre-release flagged) + BOM resolution Stale Compose BOM, KAPT instead of KSP
6 📊 api-level API 21–36 table, minSdk warnings API 26+ calls in minSdk 21 apps
7 🎯 kotlin 10 patterns — coroutines, MVI, Compose state GlobalScope.launch, runBlocking in UI
8 🎨 m3e Material 3 Expressive components & Motion M2 MaterialTheme in M3E app
9 🔐 permissions 40+ permissions rules & contracts deprecated requestPermissions()
10 🧪 testing Unit/Compose UI testing official patterns Thread.sleep() in tests; missing Hilt
11 🏗️ build R8, libs.versions.toml, signing, AAB implementation instead of ksp
12 📱 large-screen WindowSizeClass (5 breakpoints incl. Large/XL), Adaptive Scaffolds Phone-only layouts on foldables and desktops
13 🚀 scalability Paging 3, WorkManager, modularization Naive loadAll(); unstable keys in lists
14 🧭 nav3 Nav3 (Nov 2025) — Scenes, migration AI generates Nav2 dead-ends
15 ✅ compliance API 36 / Android 16 / 16 KB page size Updates rejected — Play has required targetSdk 36 since Aug 31, 2026
16 🌐 kmp Room KMP, Room 3 (stable, androidx.room3), Ktor, source sets Android-only code in KMP projects
17 🤖 ondevice-ai AICore, ML Kit Gen AI, Gemini Nano, AppFunctions (on-device MCP) Cloud-only AI when offline is required
18 📋 policy Play Store age-gating, billing openness, data safety Apps rejected for unknown policy changes
19 🥽 xr Android XR SDK, SpatialPanel, Orbiter Works as 2D panel, misses spatial value
20 ⌚ wear Tiles, Health, M3 Expressive for Wear OS Handheld patterns on round displays
21 🛡️ validator Level 3 loop-back validation gate — 34 rules, structured output, also runs in CI AI ships broken code without checking
22 🆕 api17 Android 17 / API 37 (stable) — static final, LAN, OTP, MessageQueue, native libs, Handoff Apps crash on API 37 targets
23 🪪 dev-verification Developer Verification Program — timeline, registration, CI/CD Apps blocked from install on certified devices (enforced since Sept 30, 2026 in 4 countries)

🚀 Quick Start — Zero Install Required

Option 1 — Interactive CLI (v2.1.0) ✨ Recommended

npx -y androjack-mcp@2.1.0 install

Launches a full animated terminal wizard with auto-detection for VS Code, Cursor, Claude, Windsurf, JetBrains, Kiro, and Antigravity.

Option 2 — Targeted Installs

# Preview detected IDEs and config paths
npx -y androjack-mcp@2.1.0 install --list

# Auto-detect all
npx -y androjack-mcp@2.1.0 install --auto

# Install to a specific IDE
npx -y androjack-mcp@2.1.0 install --ide=cursor
npx -y androjack-mcp@2.1.0 install --ide=claude
npx -y androjack-mcp@2.1.0 install --ide=vscode
npx -y androjack-mcp@2.1.0 install --ide=windsurf
npx -y androjack-mcp@2.1.0 install --ide=jetbrains
npx -y androjack-mcp@2.1.0 install --ide=kiro
npx -y androjack-mcp@2.1.0 install --ide=antigravity

Option 3 — Test Without an IDE

npx -y @modelcontextprotocol/inspector npx -y androjack-mcp@2.1.0

Option 4 — Enforce the rules in CI (new in 2.1.0)

The same rule engine the agent is held to, run on every pull request — including code no agent touched:

npx -y androjack-mcp@2.1.0 validate app/src --target-sdk=37            # exit 1 on errors
npx -y androjack-mcp@2.1.0 validate . --format=sarif > androjack.sarif  # GitHub code scanning
# .github/workflows/androjack.yml
- run: npx -y androjack-mcp@2.1.0 validate . --target-sdk=37 --format=sarif > androjack.sarif || true
- uses: github/codeql-action/upload-sarif@v3
  with: { sarif_file: androjack.sarif }
- run: npx -y androjack-mcp@2.1.0 validate . --target-sdk=37   # fails the job

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#mobile · #dev-tools · #mcp