Feb 2020
android 3.4+
Go to File -> Settings -> Kotlin Compiler -> Target JVM Version > set to 1.8 and then make sure to do File -> Sync project with Gradle files
Or add this into build.gradle(module:app) in android block:
kotlinOptions {
jvmTarget = "1.8"
}