Kotlin & Gradle - Make sure you have kotlin-reflect.jar in the classpath

前端 未结 1 523
说谎
说谎 2021-02-20 05:18

I am working on a app using Kotlin language and Gradle Build in IntelliJ IDEA IDE. I am getting following error:

Exception in thread \"main\" kotlin.jvm.KotlinRe         


        
1条回答
  •  情歌与酒
    2021-02-20 06:10

    add implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" in build.gradle(Module:app)

    remove compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version" from project level build.gradle

    0 讨论(0)
提交回复
热议问题