- edit the following in
build.gradle
buildscript {
ext.kotlin_version = '1.2.10'
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
- load in android studio and try to build. Chose "dont' remind me for this project again" when promted then add all the kotlin depndencies.
add boilerplate code for android stuff