cannot find symbol class BR?? Errrrrr……Where is the ERROR ?
File →Invalidate cache is not a solution for every problem especially when it comes to incognito mode errors :P . Errors that won’t show up in android studio.
Why?
There is a limit(or rather i would say default ) enforced by javac compiler to show only 100 errors.
but luckily can be modified by passing an argument to the compiler as mentioned below.
Solution : add this to your top-level build.gradle
file.
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxerrs" << "4000"
options.compilerArgs << "-Xmaxwarns" << "4000"
}
}
}
Enjoy :)