Chapters

Hide chapters

Kotlin Apprentice

Third Edition · Android 11 · Kotlin 1.4 · IntelliJ IDEA 2020.3

Before You Begin

Section 0: 4 chapters
Show chapters Hide chapters

Section III: Building Your Own Types

Section 3: 8 chapters
Show chapters Hide chapters

Section IV: Intermediate Topics

Section 4: 9 chapters
Show chapters Hide chapters

To follow along with this book, you’ll need the following:

  • IntelliJ IDEA Community Edition 2020.3.2 or later, available at https://www.jetbrains.com/idea/. This is the environment in which you’ll develop the sample code in this book.
  • Kotlin Plugin for IntelliJ IDEA v1.4.20 or later, installed (if not included by default) by going to IntelliJ IDEA Preferences on macOS (or Settings on Windows/Linux) and choosing Plugins, then searching on “Kotlin”.
  • Java SE Development Kit 8 or later. Most of the code in this book will be run on the Java Virtual Machine or JVM, for which you need a Java Development Kit or JDK. The JDK can be downloaded from Oracle at http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  • In Chapters 24 and 25, you’ll have the option of using a text editor such as Visual Studio Code instead of IntelliJ IDEA.
  • In Chapter 26, in place of IntelliJ IDEA, you’ll use Android Studio 4.1 or later and Xcode 12.4 or later to build a Kotlin Multiplatform app.

If you haven’t installed the latest versions of IntelliJ IDEA Community Edition, the Kotlin Plugin, and JDK 8, be sure to do that before continuing with the book. Chapter 1: “Your Kotlin Development Environment” will show you how to get started with IntelliJ IDEA to run Kotlin code on the JVM.

Have a technical question? Want to report a bug? You can ask questions and report bugs to the book authors in our official book forum here.
© 2024 Kodeco Inc.