Thread
#multiplatform
    Ran

    Ran

    2 years ago
    I use IDEA 2019.2.4 and kotlin version is 1.3.50.
    Ivan Kubyshkin [JetBrains]

    Ivan Kubyshkin [JetBrains]

    2 years ago
    Try to 'File | Invalidate Caches / Restart'
    Ran

    Ran

    2 years ago
    I have tried many times, but it doesn’t work.
    e

    EvaS

    2 years ago
    Did you upgrade kotlin gradle plugin ?
    Ran

    Ran

    2 years ago
    Yes. It’s 1.3.50 too
    Big Chungus

    Big Chungus

    2 years ago
    Try removing .idea and .gradle from project. Then restart idea
    a

    Alexey Belkov [JB]

    2 years ago
    Also check your project SDK is setup correctly and kill all gradle daemons, it may help.
    Ran

    Ran

    2 years ago
    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 .