I use IDEA 2019.2.4 and kotlin version is 1.3.50.
# multiplatform
r
I use IDEA 2019.2.4 and kotlin version is 1.3.50.
i
Try to 'File | Invalidate Caches / Restart'
r
I have tried many times, but it doesn’t work.
e
Did you upgrade kotlin gradle plugin ?
r
Yes. It’s 1.3.50 too
b
Try removing .idea and .gradle from project. Then restart idea
a
Also check your project SDK is setup correctly and kill all gradle daemons, it may help.
r
Okay, thanks you guys, I will try and give you feedback. Thanks!
I tried the way @Big Chungus provided, and it doesn’t work too. Finally, I recreated the whole project from scratch: gradle init —dsl kotlin , then recreated the whole structure and files, then everything is fine. May the problem is caused by the first step, in the first project, I use gradle init and change build.gradle to build.gradle.kts.
@Sebastian Sellmair [JB] Here .