Reputation: 11
I am configing data binding in my project. When I sync project with gradle files, an exception occurs. Has anyone ever had this problem?
Error:Execution failed for task :app:dataBindingProcessLayoutsDebug'.java.lang.NullPointerException
(no error message)
the build.gradle
android {
....
dataBinding{
enabled true
}
....
}
Upvotes: 1
Views: 66
Reputation: 1452
To fix you just need to change enabled true
to enabled = true
e.g:
android {
...
dataBinding {
enabled = true
}
...
}
Upvotes: 2