I\'m working on an Android application with databinding but I\'ve always next error:
Error: Package
my.package.databinding
dataBinding {
enabled = true
}
enabled the data binding in app build.gradle file. its worked
After deleting the build folder for the project and submodules, making, rebuilding, etc etc etc, the only thing that worked for me was:
create a new layout
I think there's something in the generator that gets messed up and that flushes it (totally guessing here)