4.6.0 update Lint fails with lombok/ast/Node
See original GitHub issueAfter updating to 4.6.0 Lint fails with:
:app:lintPlayReleaseUnexpected failure during lint analysis of null (this is a bug in lint or one of the libraries it depends on)
`NoClassDefFoundError:PermissionRequirement.getAnnotationStringValue(PermissionRequirement.java:244)←PermissionRequirement.create(PermissionRequirement.java:111)←SupportAnnotationDetector.checkAnnotations(SupportAnnotationDetector.java:502)←SupportAnnotationDetector.access$100(SupportAnnotationDetector.java:178)←SupportAnnotationDetector$CallVisitor.checkCall(SupportAnnotationDetector.java:2772)←SupportAnnotationDetector$CallVisitor.visitCallExpression(SupportAnnotationDetector.java:2671)←UElementVisitor$DispatchPsiVisitor.visitCallExpression(UElementVisitor.java:520)←UElementVisitor$DelegatingPsiVisitor.visitCallExpression(UElementVisitor.java:1041)`
You can set environment variable `LINT_PRINT_STACKTRACE=true` to dump a full stacktrace to stdout.
java.lang.NoClassDefFoundError: lombok/ast/Node
I am using: Gradle: 4.2.1 ‘com.android.tools.build:gradle:3.0.0’ buildToolsVersion “27.0.0”
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
gradle build fails on lint task - android - Stack Overflow
When I run the application from Android Studio, the build runs fine and executes correctly on my devices. But when I try (from...
Read more >Changelog - NPM Groovy Lint - Nicolas Vuillamy
Update list of rules; Use new CodeNarc JSON console Output instead of temporary XML files; Call CodeNarc to get its version instead of...
Read more >npm-package-json-lint - Snyk
Configurable linter for package.json files. For more information about how to use this package see README · Ensure you're using the healthiest npm...
Read more >Git Lint | Alchemists
Git Lint is a command line interface for linting Git commits by ensuring you maintain a clean, easy to read, debuggable, and maintainable ......
Read more >ts-lint | Yarn - Package Manager
custom lint rules; custom formatters (failure reporters); inline disabling / enabling ... [enhancement] Updated recommended rules to include ban-types and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi! I had this issue in my project. May be it will be helpful for somebody. I had retrolambda in my project with this solution: https://stackoverflow.com/questions/29316332/retrolambda-lint-crashes-when-using-lambda-expressions-with-retrolambda/30536556#30536556 And after updating of android studio for 3.0.0 I have removed retrolambda but I have forgotten to delete the line configurations.classpath.exclude group: ‘com.android.tools.external.lombok’ And naturally I had issue java.lang.NoClassDefFoundError: lombok/ast/Node Now everything is fine.
Seems like this can be closed now, right?