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
The problem was fixed for me by changing this. from:
implementation "androidx.room:room-runtime:$depVersion" implementation "androidx.room:room-compiler:$depVersion"
to:
implementation "androidx.room:room-runtime:$depVersion" annotationProcessor "androidx.room:room-compiler:$depVersion"