Anyone know what causes the `DataBinding` library ...
# android
l
Anyone know what causes the
DataBinding
library to not recognize
DataBindingComponent
? StackOverflow is referencing the transition from AS 3.0 to 3.1, but I'm using 3.2 and am not really sure what's going on. Build tools version 3.2.0 if it's relevant.
c
Is it the build itself crashing, or just AS showing the class as red?
l
The build itself is crashing
Copy code
protected ActivityMaintenanceBinding(DataBindingComponent _bindingComponent, View _root,
                                       ^
  symbol:   class DataBindingComponent
  location: class ActivityMaintenanceBinding
g
You have annotation processing error somewhere, check your build logs
t
check AS 3.2.1 release notes: https://developer.android.com/studio/releases/
The following bugs have been fixed:
When using the Data Binding library, variable names with underscores were causing compilation errors.
Possibly it is your case.