// the find
guolindev/booksource
《第一行代码 第2版》全书源代码
Source code companion for the second edition of 'The First Line of Code', a popular Chinese Android development textbook by Guo Lin. Each chapter maps to a working Android Studio project covering Android fundamentals — Activities, Services, Broadcasts, SQLite, networking, Material Design. It's for readers of that specific book, not a general-purpose reference.
Each chapter is a self-contained Android Studio project you can open and run without wiring anything together. The progression from HelloWorld through threading, services, LBS, and Material Design matches how the book teaches, so you can follow along without copy-pasting from a PDF. The Baidu Maps chapter ships the actual .so files and .jar, so the LBS examples run without an extra setup step. 3000+ stars and 2200+ forks suggest the book has a large enough readership that the community has already debugged the obvious gotchas.
Last commit was December 2019 — this targets Android SDK levels that are years out of date. The Gradle wrapper versions and build.gradle configurations predate AGP 4.x, so several projects will refuse to build on a current Android Studio without manual migration. The README is a QR code pointing to the author's WeChat channel, which is no help to anyone outside China or anyone who bought the book in 2024. There is no second-edition errata or indication which book edition each project corresponds to, and there is a third edition of the book that presumably has its own separate repo.