I\'m trying to use data-binding with Android.
I can not anymore build my project. I got this error :
\"Error:(13, 46) error: package ch.compan
The bug is not the DataBinding Package, it's a syntactic or logical error. For example, you have the attribute "lastName" in your POJO, but in the layout it's android:text="@{user.lastname}"
.
Check your "layout" and do Rebuild Project.
earlier my package name was "com.xyz.abc.Models" changing the package name to all small letters "Models" -> "models"
solved the issue.
Change the package name to lowercase. Instead of ViewModels use viewmodels. It worked for me.