Skip to content Skip to sidebar Skip to footer

Kotlin Rc Noclassdeffounderror

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 ClassNotFoundException: Di

Solution 1:

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.

Post a Comment for "Kotlin Rc Noclassdeffounderror"