Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
the usual “something with kotlin doesn’t work” check list:
  • Kotlin Plugin up to date?
  • Gradle Plugin up to date?
  • Kotlin version up to date?
  • only use kapt for annotation processing (don't mix Android Studio's annotationProcessor, apt and kapt, or any other processor)
  • use kapt3 by using apply plugin: 'kotlin-kapt'
  • don’t use kapt { generateStubs true } } at all, it will not work with kapt3
  • using databinding? then databinding compiler version needs to be the same as gradle plugin version ( kapt "com.android.databinding:compiler:$version")

Additionally, I stick to org.jetbrains.kotlin:kotlin-stdlib and don’t use the jre7 version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment