Development Tips for the Book

Kotlin and Android Development featuring Jetpack — by Michael Fazio (8 / 125)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 How to Read This Book | TOC | Online Resources 👉

Android development, while great, can be a bit tricky. Even getting things set up can be a pain, but I hope Appendix 1, Install Android Studio, makes that process smoother. The emulator works really well now, so you don’t need a physical device, but it can be nice to see the apps working on an actual phone.

Also, if you’re using the emulator, know that it can lose connectivity, making most of the ABL chapters impossible. This in particular can happen when the emulator is running and your computer goes to sleep. Don’t be afraid to restart the emulator or ADB server (and even your computer if needed).

Along those lines, when in doubt, uninstall the app. This is especially valuable when working with Room and a database. Any structural DB changes would normally require a migration (a proper change/upgrade to a DB), but since we’re still in dev, you can skip it with a reinstallation of the app.

👈 How to Read This Book | TOC | Online Resources 👉

Kotlin and Android Development featuring Jetpack by Michael Fazio can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.