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.