Julius Marozas
07/23/2020, 9:52 PM'surface: Color' is only available since Kotlin 1.4 and cannot be used in Kotlin 1.3
I have also set the "Update channel" in Languages & Frameworks > Kotlin (Android Studio settings) to "Early Access Preview 1.4.x".allan.conda
07/24/2020, 5:57 AMJulius Marozas
07/24/2020, 6:08 AMppvi
07/24/2020, 1:47 PMJulius Marozas
07/24/2020, 1:53 PMppvi
07/24/2020, 1:53 PMJulius Marozas
07/24/2020, 10:03 PMkotlinCompilerVersion
and kotlinCompilerExtensionVersion
and the app builds without errors with gradle assembleDebug
.kotlinOptions
in KotlinCompile
task:
languageVersion = "1.4"
Maybe this can be added to the documentation?ppvi
07/25/2020, 9:28 AMJulius Marozas
07/25/2020, 9:38 AMlanguageVersion
. Perhaps something is working differently in Kotlin Gradle scripts build.gradle.kts
than with normal Gradle scripts build.gradle
?Adrian Blanco
07/26/2020, 3:04 PM