First-edition source code for The Staff Android Engineer: Designing, Diagnosing, and Evolving Android Systems by Rajesh Pattanaik.
The projects below retain their frozen first-edition-2026.10 tags. Download the compact source ZIP (packaging revision 2), which preserves the code/projects/ layout required by shared investigation tools. Extract it alongside the paid companion guide.
Before opening or building an Android project from this compact download, run python3 code/setup.py --project commerce-app from the extracted package folder, replacing commerce-app with its project name. Use --list to list projects or --all to prepare them all. Python 3.9 or newer is required; use python if that is your Python 3 command. Setup restores exact original images and fonts offline. The download stores them once; preparing projects increases disk use. Individually cloned repositories already include their assets and need no preparation step.
Revision 2 removes author-only scripts and fetches the pinned Chapter 24 bundletool on demand with SHA-256 verification. Application source, image quality, fonts and chapter checkpoints are unchanged. code/PACKAGE.json documents distribution changes relative to the original source archive.
Original companion code is MIT licensed. Required third-party notices and assets retain their own terms. Book chapters, exercises, written solutions and detailed reader guidance are supplied with the purchased book.
Use JDK27 and the pinned Gradle wrappers. Set ANDROID_HOME to the SDK specified by each project. Individual READMEs describe build/service entry points. For root JVM labs, run ./gradlew test inside the bundle’s code/ directory.
| Chapter | Code repository | First-edition version |
|---|---|---|
| 33 | reservation-payments | 2cdaf42c8a |
| 34 | live-location | c3066e8e9a |
| 35 | messaging | 6b1013ce1b |
| 36 | social-feed | 83fc116efe |
| 37 | media-library | 7bb6e69a0c |
| 38 | realtime-calls | c5511196fa |
| 39 | collaborative-notes | 6c56c4bf4d |
| 40 | resumable-transfer | d3a8b75b3c |
| 41 | backend-scale | 11ed5a19b8 |
| 42 | connected-device | c309d2d463 |
| 43 | camera-pipeline | 01e84c4165 |
| 44 | ai-assistant | 2cbba07a62 |
Machine-readable repository map. Report reproducibility problems or errata through this repository’s Issues; identify the chapter and edition without posting paid chapter text.