I am trying to use Android data binding but have s...
# android
n
I am trying to use Android data binding but have started to get this error:
Copy code
Error:java.lang.annotation.IncompleteAnnotationException: android.databinding.BindingBuildInfo missing element enableDebugLogs
g
Looks like you have error in you code. Maybe you have incorrectly configured binding adapter
n
I am just trying to build in gradle. No code used yet
g
Whoa, strange. Which version of Bindings library? Also, check that you binding compiler has the same version as Android Gradle Plugin
h
@nohe427 I am using it int my project like below
Copy code
apply plugin: 'kotlin-kapt'

android {
 ....
   dataBinding {
        enabled = true
    }
}
dependencies {
  kapt com.android.databinding:compiler:2.x.x
}
If you can share, how you doing in gradle?
n
It looked to be a problem with my Room config. Looks like I got it squared away
Thanks thought!