Setting up Kotlin in Android Studio

We strongly encourage you to use Android Studio 3.0 for Android development, irrespective of whether you're using Kotlin or not. Android Studio 3.0 is the latest version of Android Studio, with a lot of bug fixes, new features, and improved Gradle build time.

For Android Studio 3.0, you don't need to do any setup to use Kotlin for Android development. You just need to select Include Kotlin support while creating a new project. Here is a screenshot for your reference:

We've highlighted the Include Kotlin support section of the Android Studio—Create Android Project dialog.

However, if you're using Android ...

Get Reactive Programming in Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.