I've updated Android Studio from 3.0 to 3.5.3 and receiving this error.
Kotlin not configured
Dependencies used in build.gradle
dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.1.60'
compile 'com.squareup.okhttp:okhttp:2.5.0'
}
Tried doing below tricks but nothing worked:
I had the same issue and tried compiling with below code in build.gradle at buildscript level
repositories {
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:0.14.449'
classpath 'org.hidetake:gradle-ssh-plugin:1.1.3'
}
}
apply plugin: "kotlin" // or apply plugin: "kotlin2js" if targeting JavaScript
apply plugin: 'application'
apply plugin: "org.hidetake.ssh"
repositories {
mavenCentral()
}
dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib:1.1.60'
compile 'com.squareup.okhttp:okhttp:2.5.0'
}
remotes {
edison {
host = 'host'
user = "root"
agent = true
}
}
task deploy(dependsOn: distTar) << {
ssh.run {
session(remotes.host) {
put from: '.tar', into: '.tar'
execute '.tar'
}
}
}
Also let the dependencies you've mentioned above be same.
If you get any further issues after compiling your gradle try using Spotbugs