Kotlin gradle Could not initialize class class org.jetbrains.kotlin.gradle.internal.KotlinSourceSetProviderImplKt

前端 未结 10 2136
天涯浪人
天涯浪人 2020-12-30 18:10

I tried to use gradle for transpiling Kotlin to Js. When I run the example from https://www.codeflow.site/fr/article/kotlin-javascript I got the error : Could not initia

10条回答
  •  被撕碎了的回忆
    2020-12-30 18:52

    I don't know if I can do the same as KP7984 said - to check the versions of the plugins of my Android Studio, not the ones of my OS. I use gradlew -v of my project instead of gradle -v and it works for me.

提交回复
热议问题