Finding actual error out of data binding error
The Java compiler cuts off errors after 100 by default. With a standard Android-style project structure, add this to your root level build.gradle
to raise the limit (to 500 in this case) - this raises the limit for all subprojects. You will still have to dig through all errors to find the real ones:
subprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << '-Xmaxerrs' << '500' } }}
I fixed the issue by implementing Room in another module