Skip to content

Instantly share code, notes, and snippets.

@xian
Created February 23, 2019 01:56
Show Gist options
  • Save xian/eaf2746737ecb7f213eb1f219d1158ef to your computer and use it in GitHub Desktop.
Save xian/eaf2746737ecb7f213eb1f219d1158ef to your computer and use it in GitHub Desktop.
[17:54:09] :integration_tests:androidx:lint (3s)
[17:54:12] [:integration_tests:androidx:lint]
[17:54:12] [:integration_tests:androidx:lint] FAILURE: Build failed with an exception.
[17:54:12] [:integration_tests:androidx:lint]
[17:54:12] [:integration_tests:androidx:lint] * What went wrong:
[17:54:12] [:integration_tests:androidx:lint] Execution failed for task ':integration_tests:androidx:lint'.
[17:54:12] [:integration_tests:androidx:lint] > Lint found errors in the project; aborting build.
[17:54:12]
[17:54:12] Fix the issues identified by lint, or add the following to your build script to proceed with errors:
[17:54:12] ...
[17:54:12] android {
[17:54:12] lintOptions {
[17:54:12] abortOnError false
[17:54:12] }
[17:54:12] }
[17:54:12] ...
[17:54:12]
[17:54:12] The first 3 errors (out of 4) were:
[17:54:12] C:\TeamCity\buildAgent\work\43c8501bb11133cf\module-info.class: Error: Unexpected failure during lint analysis of module-info.class (this is a bug in lint or one of the libraries it depends on)
[17:54:12]
[17:54:12] Stack: NullPointerException:InvalidPackageDetector.checkClass(InvalidPackageDetector.java:112)?AsmVisitor.runClassDetectors(AsmVisitor.java:154)?LintDriver.runClassDetectors(LintDriver.kt:1461)?LintDriver.checkClasses(LintDriver.kt:1329)?LintDriver.runFileDetectors(LintDriver.kt:1096)?LintDriver.checkProject(LintDriver.kt:895)?LintDriver.analyze(LintDriver.kt:416)?LintCliClient.run(LintCliClient.java:235)
[17:54:12]
[17:54:12] You can set environment variable LINT_PRINT_STACKTRACE=true to dump a full stacktrace to stdout. [LintError]
[17:54:12] Applies to variants: debug
[17:54:12] C:\TeamCity\buildAgent\work\43c8501bb11133cf\module-info.class: Error: Unexpected failure during lint analysis of module-info.class (this is a bug in lint or one of the libraries it depends on)
[17:54:12]
[17:54:12] Stack: NullPointerException:
[17:54:12]
[17:54:12] You can set environment variable LINT_PRINT_STACKTRACE=true to dump a full stacktrace to stdout. [LintError]
[17:54:12] Applies to variants: release
[17:54:12] C:\Windows\System32\config\systemprofile\.gradle\caches\modules-2\files-2.1\org.bouncycastle\bcprov-jdk15on\1.52\88a941faf9819d371e3174b5ed56a3f3f7d73269\bcprov-jdk15on-1.52.jar: Error: Invalid package reference in library; not included in Android: javax.naming.directory. Referenced from org.bouncycastle.jce.provider.X509LDAPCertStoreSpi. [InvalidPackage]
[17:54:12]
[17:54:12]
[17:54:12]
[17:54:12] * Try:
[17:54:12] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[17:54:12]
[17:54:12] * Get more help at https://help.gradle.org
[17:54:12]
[17:54:12] BUILD FAILED in 7m 9s
[17:54:13] Process exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment