CLAUDE LABJP
FORK — Claude Code 2.1.212 changes what /fork does: it copies your conversation into a new background session with its own row in claude agents, so you can keep working. The old in-session subagent is now /subtaskLIMITS — WebSearch calls are now capped at 200 per session by default, and subagent spawns get the same 200 ceiling, so a runaway search or delegation loop stops on its ownMCPBG — MCP tool calls running past two minutes now move to the background automatically, keeping the session usable. Tune the threshold with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MSPLANFIX — Fixed plan mode auto-running file-modifying Bash commands such as touch and rm without a permission prompt or an SDK canUseTool callbackSONNET5 — Claude Sonnet 5 is running on introductory pricing of $2 per million input tokens and $10 per million output. After August 31 it moves to $3 and $15IPO — Bankers are reportedly lining up investor meetings for Anthropic ahead of a possible public listing as soon as OctoberFORK — Claude Code 2.1.212 changes what /fork does: it copies your conversation into a new background session with its own row in claude agents, so you can keep working. The old in-session subagent is now /subtaskLIMITS — WebSearch calls are now capped at 200 per session by default, and subagent spawns get the same 200 ceiling, so a runaway search or delegation loop stops on its ownMCPBG — MCP tool calls running past two minutes now move to the background automatically, keeping the session usable. Tune the threshold with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MSPLANFIX — Fixed plan mode auto-running file-modifying Bash commands such as touch and rm without a permission prompt or an SDK canUseTool callbackSONNET5 — Claude Sonnet 5 is running on introductory pricing of $2 per million input tokens and $10 per million output. After August 31 it moves to $3 and $15IPO — Bankers are reportedly lining up investor meetings for Anthropic ahead of a possible public listing as soon as October
Articles/Claude Code
Claude Code/2026-04-07Advanced

An Implementation Notebook for Shipping Android/Kotlin Apps to Google Play with Claude Code

A production notebook from years of running an indie Android app business. Compose × Hilt × Room design calls, ProGuard crash triage, and a 14-item pre-release checklist that goes in front of every Google Play AAB upload.

Claude Code197Android7Kotlin2Jetpack ComposeGoogle Play2CI/CD18Production23

Premium Article

The "Too Much to Keep in Your Head" Problem in Android

Kotlin, Jetpack Compose, Hilt, Room, Retrofit, Coroutines. The "current best practice" toolset for Android shifts substantially every two or three years. The recommended stack when I started shipping Android apps and the current one are essentially different worlds, and re-checking docs has eaten a lot of my time over the years. Rapid evolution of the Kotlin language, the ever-growing Jetpack library suite, multi-device compatibility requirements, and frequent Google Play policy updates — keeping up with all of this as a solo developer or small team is genuinely challenging.

Claude Code addresses this complexity by letting you "code through conversation." It's not just a completion tool — it's an architecture consultant, a debugging partner, and a release automation orchestrator.

Who This Guide Is For

  • Kotlin developers aiming to build production-quality apps
  • Developers looking to integrate Claude Code into their Android workflow
  • Flutter or React Native developers evaluating native Kotlin
  • Anyone wanting to shorten their release cycle through automation

Step 1: Project Setup and CLAUDE.md Configuration

Giving Claude Code Your Project's DNA

The most impactful first step is adding a CLAUDE.md file to your project root. This lets Claude Code understand your architecture and constraints — without you having to repeat them in every session.

# MyApp — CLAUDE.md
 
## Architecture
- Pattern: MVVM + Clean Architecture
- DI: Hilt
- Database: Room (SQLite)
- Networking: Retrofit + OkHttp
- Async: Kotlin Coroutines + Flow
- UI: Jetpack Compose (Material 3)
 
## Package Structure
- app/ — Application class, DI modules
- feature/{name}/ — Feature UI and ViewModel
- domain/ — UseCases, Repository interfaces
- data/ — Repository implementations, Room DAOs, API clients
- core/ — Shared utilities, extension functions
 
## Coding Rules
- Use sealed classes for error handling: Result<T, AppError>
- ViewModels expose UI State as StateFlow
- Testing: JUnit5 + MockK, 80%+ coverage target
- Compose previews: use @PreviewParameter with realistic sample data
 
## Restrictions
- No business logic in Activity/Fragment
- GlobalScope is banned
- Hardcoded strings must be moved to strings.xml

With this file in place, Claude Code knows the tech stack and rules for every session. No more repeating "this project uses Hilt" at the start of every prompt.

Migrating to Version Catalogs

Managing dependencies across multiple modules can get messy quickly. Ask Claude Code to handle the migration:

Review the build.gradle.kts files across the project and migrate
them to a version catalog (libs.versions.toml) format.
Base everything on Kotlin 2.0 / AGP 8.9 with up-to-date dependencies.

Claude Code reads the files, extracts the current version list, and produces both the libs.versions.toml template and the diff for each module's build.gradle.kts.


Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
What years of indie Android work taught me about where to delegate to Claude Code and where humans must stay accountable.
Operational pitfalls Android Developers docs don't cover — Compose recomposition runaway, Coroutines exception propagation, ProGuard/R8 minimal keep rules, Room migration discipline, OEM doze quirks — with working code.
A 14-item Google Play pre-release checklist that I run before every AAB upload (ANR thresholds, Data Safety form, AD_ID permission, edge-to-edge on Android 15+, and more).
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Claude Code2026-06-14
Before Per-PR CI Burns Through Your Monthly Credits: A Three-Layer Guard for Claude Code GitHub Actions
From June 15, Claude Code GitHub Actions bills against non-rolling monthly credits. Run a review on every PR and you can drain the month in the first week. Here is a three-layer guard — when to run, how heavy one run can get, and making spend visible — with working workflows.
Claude Code2026-05-03
Building an iOS/Android Auto-Deploy Pipeline from Scratch with Claude Code and Fastlane
Learn how to automate iOS and Android app releases by combining Claude Code with Fastlane. Covers Appfile design, certificate management, App Store Connect API integration, and real-world debugging workflows with working code examples.
Claude Code2026-04-18
Claude Code for Mobile App Development in 2026: A Practical SwiftUI & Kotlin Workflow
How to actually integrate Claude Code into iOS (SwiftUI) and Android (Kotlin) development. Real patterns from an indie developer maintaining multiple apps.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →