Hello, in a project with Kotlin 2.0.0-RC3, trying the IDE K2 Mode in Android Studio Koala 2024.1.1 Beta 2 with Compose, while looking at a Composable, the analyzing phase never ends and I can see it actually crahes in the IDE logs at idea.log:
Copy code
2024-05-17 09:04:43,747 [ 481934] INFO - STDERR - Exception in thread "DefaultDispatcher-worker-1" org.jetbrains.kotlin.compiler.plugin.CliOptionProcessingException: Unsupported plugin option: androidx.compose.compiler.plugins.kotlin:strongSkipping=false
Did anyone encounter this? 🤔
galex
05/17/2024, 6:31 AM
So the issue is about the version of Kotlin (and Compose Plugin) bundled in the IDE I guess, which I can only wait to get updated I imagine
s
shikasd
05/17/2024, 1:55 PM
Please file a bug to Android Studio component on Google tracker, I don't think they should use this flag
g
galex
05/17/2024, 3:19 PM
Yeah, this is so weird. It happens as soon as you apply the new Compose Plugin on an K2 Mode enabled:
Copy code
plugins {
alias(libs.plugins.compose.compiler)
}
Remove it and no issues, add it and you can see "Analyzing..." forever as it makes the K2 IDE Plugin to crash