Gradle build completed with error 200 (s) - change limit in android studio

MAIN QUESTION

The main question still remains unanswered: is there a way to change the limit that is printed on the console in Android studio?

OLD CONTENT

I use code generation libraries. Thus, a single error can suddenly lead to hundreds of errors resulting in this single error.

I am currently having a problem that I cannot find the error since I am getting 200 errors error: cannot find symbol class ......

How can I change the limit of 200 to a larger number?

EDIT

There is no code, as this is an Android studio issue.

EDIT2

, , xml (). ... , Android , ...

. , . , - 200 ...

+7
3

Build.gradle

allprojects {
  gradle.projectsEvaluated {
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xmaxerrs" << "1000"
    }
  }
}
+25

": " , build.gradle , . IDE, script Gradle, .

, Jar libs , , script :

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
}
+1

, Kotlin DSL:

 gradle.projectsEvaluated {
        tasks.withType(JavaCompile::class) {
            options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000"))
        }
    }
0

All Articles