

classpath “:kotlin-gradle-plugin:$kotlin_version”Ĭlasspath “:kotlin-android-extensions:$kotlin_version”Īlso add the Kotlin version into the buildscript section, as follows: ext.kotlin_version = ‘1.1.x’ Now, if the Android Studio version is not 3.0, we need to add the following code into the adle (Project: MyApplication) file (located at the bottom of the left side of the Project window, inside Gradle Scripts), under the dependencies section.

Hit Install to add Kotlin to your Android Studio.Select Plugins and search for Kotlin (Figure 1).For all other versions below 3.0, the user needs to install Kotlin manually as follows: Android Studio 3.0 comes with pre-installed Kotlin.
