(Android)[databinding] Cannot find the setter for attribute


#1

I got this error when I do a normal build in Circleci.

e: java.lang.IllegalStateException: failed to analyze: android.databinding.tool.util.LoggedErrorException: >Found data binding errors.
Cannot find the setter for attribute ‘bind:toolBarData’ with parameter type >xxx.features.userGroupManagement.ToolBarData on xxx.databinding.ToolbarBinding.
file:///home/circleci/working/xxx/src/main/res/layout/activity_manage_user_group.xml Line:31

The issue will not have appeared if I build with “Rebuild without cache” mode. Therefore, it should be a caching issue.
If anyone has an idea how to solve it, please give me one hand. It will be very appreciated.

In local, the build was ok with Gradle. Please tell me if you request the source code detail.
Thanks


#2