https://kotlinlang.org logo
#android
Title
# android
a

audhil

08/13/2017, 2:23 PM
Copy code
ext.kotlin_version = '1.1.3-2'
classpath 'com.android.tools.build:gradle:2.3.3'

and

kapt "com.android.databinding:compiler:2.3.0"
    compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
r

rkeazor

08/13/2017, 4:25 PM
Which version of Android Studio are you using? Are you using Android Studio 2.3.+ stable or are using one of the canary / beta 3.0 versions? 3.0 has Kotlin already built in.Did you have the android kotlin plugin?
v

vyacheslav.gerasimov

08/13/2017, 4:27 PM
There also should be
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
in buildscript dependencies
7 Views