I\'m working on an Android application with databinding but I\'ve always next error:
Error: Package
my.package.databinding
To see the error, just edit these lines of code in the app's build.gradle:
dataBinding {
enabled = false
}
In this way, the last error in your build console is the actual error. Because from the first to the penultimate error, they are all related to the non-generation of the data binding classes, precisely because we have disabled it.
Once you find the error you will enter again :
dataBinding {
enabled = true
}