Closed EDnny12 closed 3 months ago
Adding code below in android/app/build.gradle
works for me.
android {
...
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion '1.5.2'
}
}
I wrote 1.5.2
for compiler verison because I use 1.9.0
version kotlin.
You can check compatible compose compiler versions in this page.
org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
I ran code example.