◉CLAUDE LABJP
●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files●SONNET 4.5 — Sonnet 4.5 was retired from the Claude API on 11/30. Calls now return an error. Move to Sonnet 5.5●PROJECTS — The Enterprise Analytics API now reports daily usage for the new projects experience (beta)●OPUS 4.5 — claude-opus-4-5 retires on 2027/1/22, 52 days from now. The replacement is claude-opus-5-5●LANGUAGE — Some users say Claude switches to another language mid-session while they write in English●NEW — New: Weekly usage looks like it jumped right after a plan upgrade? Check this first●COWORK — Handing Cowork a folder for the first time? Start with a task that only reads files
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 Code295Android10KotlinJetpack ComposeGoogle Play3CI/CD19Production23

✦ 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-11-26
Per Callback, or Once at the Door? Deciding What Claude Code Should Touch on the Day I Installed an Ads SDK Migration Skill
Android's ads SDK is changing generations, and every callback will now arrive on a background thread. The official migration skill says to switch to the UI thread inside each callback; I chose to switch once, at the entrance of my ad wrapper layer. Three tools — an inventory scanner, an entrance-level normalizer, and a PreToolUse hook that fences Claude Code's edits on the migration branch — and the reasoning behind the choice.
⟐ Claude Code2026-11-19
My Porting Checklist Was Written in SwiftUI Terms, and It Couldn't Find a Single Purchase Item in My Objective-C Code
I built a small pipeline that hands Claude Code only the checks relevant to the file I'm editing, out of a 113KB list of 33 Android pitfalls. Three scripts, and how a SwiftUI vs Objective-C vocabulary gap let the most important items slip through.
⟐ Claude Code2026-08-12
When Paying Users Still See Ads: Collapsing the Ad-Free Check Into One Place
A user who paid to remove ads still sees them. The cause is rarely a missing flag — it is a check that lives in too many places. Here is how I inventoried every ad call with Claude Code and folded the decision into a single gate.