https://kotlinlang.org logo
Title
n

nohe427

07/02/2017, 1:31 AM
I am trying to use Android data binding but have started to get this error:
Error:java.lang.annotation.IncompleteAnnotationException: android.databinding.BindingBuildInfo missing element enableDebugLogs
g

gildor

07/02/2017, 1:58 AM
Looks like you have error in you code. Maybe you have incorrectly configured binding adapter
n

nohe427

07/02/2017, 2:04 AM
I am just trying to build in gradle. No code used yet
g

gildor

07/02/2017, 2:08 AM
Whoa, strange. Which version of Bindings library? Also, check that you binding compiler has the same version as Android Gradle Plugin
h

hetang

07/02/2017, 4:45 AM
@nohe427 I am using it int my project like below
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

nohe427

07/03/2017, 4:56 PM
It looked to be a problem with my Room config. Looks like I got it squared away
Thanks thought!