Open gradle project and add this line
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.3-2"
After the gradle configuration project, you need to add the Gradle application. add kotlin plugin after android plugin like this
apply plugin: 'com.android.application' apply plugin: 'kotlin-android'
And the last step is add dependencies
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.3-2"
And click on SYNC Project.
source share