Lint crash post upgrade to gradle plugin 3.1 #1204
Labels
Bug - P2
A problem that needs to be fixed for a feature to function as intended
Internal
Issue created by a project contributor
Issue Triage
The engineering team has looked into the issue, understood the issue, labelled/classified the issue
Travis reports the following error after upgrading to Gradle Plugin 3.1. Will defer upgrade until we have more time to investigate as issue referenced does not appear to apply to our scenario at first glance:
1: Task failed with an exception.
Execution failed for task ':automationtestapp:lint'.
Fix the issues identified by lint, or add the following to your build script to proceed with errors:
...
android {
lintOptions {
abortOnError false
}
}
...
Errors found:
/home/travis/build/AzureAD/azure-activedirectory-library-for-android/automationtestapp: Error: Lint crashed because it is being invoked with the wrong version of Guava
(the Android version instead of the JRE version, which is required in the
Gradle plugin).
This usually happens when projects incorrectly install a dependency resolution
strategy in all configurations instead of just the compile and run
configurations.
See https://issuetracker.google.com/71991293 for more information and the
proper way to install a dependency resolution strategy.
(Note that this breaks a lot of lint analysis so this report is incomplete.) [LintError]
The text was updated successfully, but these errors were encountered: