Kotlin RC NoClassDefFoundError

后端 未结 1 746
悲&欢浪女
悲&欢浪女 2021-01-25 00:11

After updating kotlin to RC-1036 i\'m facing a weird issue: my code is not even compiled and packed.

When build passes and the app is launched i\'m getting ClassNo

相关标签:
1条回答
  • 2021-01-25 00:59

    You should have both these plugins:

    apply plugin: 'kotlin-android'
    apply plugin: 'kotlin-android-extensions'
    

    The first makes sure the Kotlin code compiles, the second is for the UI imports.

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