Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint crash post upgrade to gradle plugin 3.1 #1204

Open
shoatman opened this issue May 24, 2018 · 0 comments
Open

Lint crash post upgrade to gradle plugin 3.1 #1204

shoatman opened this issue May 24, 2018 · 0 comments
Assignees
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

Comments

@shoatman
Copy link
Contributor

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.

  • What went wrong:
    Execution failed for task ':automationtestapp:lint'.

Lint found errors in the project; aborting build.

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]

@shoatman shoatman added the bug label May 24, 2018
@shoatman shoatman self-assigned this May 24, 2018
@iambmelt iambmelt added 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 and removed bug labels Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants