Gradle Project: java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics

前端 未结 8 1446
抹茶落季
抹茶落季 2020-12-14 14:50

I\'m working on a Java project and within this project I did my first try with Kotlin. I started converting some classes to Kotlin with the JavaToKoltin converter provided i

8条回答
  •  醉梦人生
    2020-12-14 15:20

    You need to configure your project with kotlin. So in Android Studio:

    1. click on Tools => kotlin => Configure kotlin in project

    2. Then in dialog check : All module containing kotlin files

    3. and select version

    4. press ok

    Done.

提交回复
热议问题