For recent versions of Android Studio, if changing just the Kotlin Target VM version didn't work.
File ? Project Structure ? Modules (app
): set both "Source Compatibility" and "Target Compatibility" to "1.8 (Java 8)". Press "OK" and sync project with Gradle.