Cannot find symbol class FragmentIngredientEditBindingImpl DataBinderMapperImpl.java

This was a rather cryptic Gradle build error for a Kotlin App I was testing. Turns out, I had used the wrong object variable name of

@{vm.ingredient.quantity + ""}

The correct object variable was named "sourceQuantity". 

Fix:

Check your variable names in your XML layout files. Once I corrected the name my app build was successful.

Leave a Reply

Your email address will not be published. Required fields are marked *