My top level build.gradle:
buildscript { ext.kotlin_version = \'1.2.41\' ext.lifecycle_version = \"1.1.1\" repositories { google()
For Android Studio 3.3, Gradle 3.3.0 and Databinding v2, the only line that needs to be added to fix this issue is in your (app's or modules) build.gradle:
build.gradle
apply plugin: "kotlin-kapt"