romainguy
01/30/2021, 10:09 PMLilly
01/30/2021, 10:19 PMClass 'androidx.compose.material.TextKt' is compiled by an unstable version of the Kotlin compiler and cannot be loaded by this compilerIs it because of the Kotlin version and when yes how can I install a previous version?
Alexjlockwood
01/31/2021, 3:03 AMZach Klippenstein (he/him) [MOD]
01/31/2021, 7:17 AMZhelyazko Atanasov
01/31/2021, 8:28 AMbuildFeatures {
compose true
}
I still had to explicitly enable IR in order to clear out the Class XXX is compiled by an unstable version of the Kotlin
error.
To enable IR, add this to your app's module _build.gradle_:
kotlinOptions {
useIR = true
}
Lilly
01/31/2021, 8:15 PM