CLOVIS
03/18/2023, 2:18 PMe: java.lang.Error: Something went wrong while checking for version compatibility between the Compose Compiler and the Kotlin Compiler. It is possible that the versions are incompatible. Please verify your kotlin version and consult the Compose-Kotlin compatibility map located at <https://developer.android.com/jetpack/androidx/releases/compose-kotlin>
at androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar$Companion.checkCompilerVersion(ComposePlugin.kt:274)
at androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar.registerProjectComponents(ComposePlugin.kt:199)
Caused by: java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.cli.common.messages.MessageCollector.report$default(org.jetbrains.kotlin.cli.common.messages.MessageCollector, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity, java.lang.String, org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation, int, java.lang.Object)'
at androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar$Companion.checkCompilerVersion(ComposePlugin.kt:252)
Versions:
• Kotlin 1.7.20
• Compose-jb 1.2.2
• Compose BOM 2023.01.00Landry Norris
03/18/2023, 3:55 PMCLOVIS
03/18/2023, 4:06 PMLandry Norris
03/18/2023, 4:06 PMCLOVIS
03/18/2023, 4:10 PMLandry Norris
03/18/2023, 4:12 PMCLOVIS
03/18/2023, 4:12 PMLandry Norris
03/18/2023, 5:08 PMitnoles
03/18/2023, 5:31 PMayodele
03/18/2023, 9:09 PMCLOVIS
03/19/2023, 1:15 PMayodele
03/19/2023, 1:35 PMcomposeOptions {
kotlinCompilerExtensionVersion = "1.4.3"
}
CLOVIS
03/19/2023, 1:35 PMayodele
03/19/2023, 1:41 PMandroidMain
?CLOVIS
03/19/2023, 1:41 PMcompose.material3
and compose.runtime
.Landry Norris
03/19/2023, 1:49 PMCLOVIS
03/19/2023, 1:50 PMCaused by:
, it fails with NoSuchMethodError
🤔ayodele
03/19/2023, 1:51 PMCLOVIS
03/19/2023, 1:52 PMayodele
03/19/2023, 1:54 PMLandry Norris
03/19/2023, 1:59 PMCLOVIS
03/19/2023, 2:00 PMLandry Norris
03/19/2023, 2:01 PMCLOVIS
03/19/2023, 2:01 PMayodele
03/19/2023, 2:08 PMcompose-androidCompilerExtension = "1.4.3"
That line in your libs file is the culpritCLOVIS
03/19/2023, 2:09 PMayodele
03/19/2023, 2:09 PMCLOVIS
03/19/2023, 2:11 PMLandry Norris
03/19/2023, 2:12 PMayodele
03/19/2023, 2:12 PMCLOVIS
03/19/2023, 2:13 PMLandry Norris
03/19/2023, 2:13 PM