Anyone experience this and find a solution? It see...
# kotlin-native
s
Anyone experience this and find a solution? It seems easy to fix, but I’ve already checked and my Kotlin Gradle plugin is set to 1.3.61. Tried invalidating caches/restarting but it didn’t fix anything.
Copy code
10:06 AM	Incompatible Kotlin/Native libraries
				There are 227 libraries from the Kotlin/Native 1.3.50 distribution attached to the project: stdlib, ARKit, AVFoundation, AVFoundation, AVKit, ...
				These libraries were compiled with an older Kotlin/Native compiler and can't be read in IDE. Please edit Gradle buildfile(s) to use Kotlin Gradle plugin version 1.3.61. Then re-import the project in IDE.
d
Clean!
And then maybe click on "Refresh dependencies".
s
Sounds dumb but IntelliJ doesn’t seem to have the “Clean” option under the Build menu like Android Studio does… how do I do that?
d
Via gradle.
s
Ah
d
Press shift twice, type "Run Anything", then type "gradle clean".
k
there's also a gradle tool window on the right side of the IDE in which you can double click on any task
s
Is that different than just running
gradle clean
in the project dir?
k
no
d
I wonder if it uses the same daemon.
s
Heh, that worked. Thanks for the help. It was a simple solution after all.
Would’ve thought I’d think of cleaning with Gradle 😅