kotlin.jvm.KotlinReflectionNotSupportedError: Kotlin reflection implementation is not found at runtime. Make sure you have kotlin-reflect.jar

后端 未结 3 1786
孤街浪徒
孤街浪徒 2020-12-14 13:37

When I compile I got the above error. My gradle file as below : -

apply plugin: \'com.android.application\'
apply plugin: \'kotlin-android\'
apply plugin: \'         


        
3条回答
  •  离开以前
    2020-12-14 14:19

    From the error, I assume:

    implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
    

    in your dependencies in addition to the standard library.

提交回复
热议问题