Hi :android-wave: , Cross-posting here since the e...
# k2-adopters
a
Hi 👋 , Cross-posting here since the error message and the issue tracker references K2. Any assistance would be greatly appreciated! thank you color https://kotlinlang.slack.com/archives/C0B8H786P/p1732346951357729
thank you color 1
m
2.1.0-RC2 release should help you.
a
So, is it not fixed yet? 😕
m
It is. The status is "fixed in 2.1.0-RC"
a
But, its not working for me. Anything else I should do?
m
You can try • Set language version also 2.1 • Perform a rebuild Also cc @Aleksei Cherepanov
a
I have not done any manual changes for K2. So, I am not sure how the project is not working now.
Language version should be set here or anywhere else? Rebuilding shows the same error.
m
Yes, it helps. For me it looks like a different problem, as rebuild does not help you. We will try to fix it in next RC or in 2.1.0
a
thank you color
Is there any workaround for this? I have no need for K2 now.
m
Try 1.9.25. Or 2.0.10.
BTW, you have a Gradle Project, have you changed a compiler version there?
a
It showing the same error.
m
It means you should make a change in your Gradle conf. It overrides Idea conf.
With K1, you cannot get this error, it's K2 specific
a
Yes, works now. kodee happy This line had to be updated.
Copy code
pluginManagement {
    plugins {
        id 'org.jetbrains.kotlin.jvm' version '1.9.20'
    }
}
m
Please try also 2.1.0-RC2 at the same place, does it work or not?
a
👌 , It works with
2.1.0-RC2
as well now.
Thank You thank you color
t
Yes, it helps. For me it looks like a different problem, as rebuild does not help you. We will try to fix it in next RC or in 2.1.0
Hi! @mglukhikh Could you please share the ticket to fix this issue?
m
In fact the problem arose because Gradle script wasn't updated, so the used compiler version wasn't changed. No new issue here.
👌 1
thank you color 1