Im working on an Android App, currently using DSL and some libraries, suddenly the build gave me this error.
Task :app:kaptDebugKotlin FAILED ANTLR Tool
Had a similar issue. I was trying to implement bindingAdapters to a TextView of a ViewHolder in my recyclerview
I failed to implement a bindingAdapter for a TextView after adding the adding a unique app attribute
app:tDate="@{transaction}
in the xml layout file for my recylerView item.
Solved it by well.. implementing it.
@BindingAdapter("tDate")
fun TextView.setValue(item: Transactions){
text = item.date.toString()
}