Skip to content

Weird lint failure on some projects in 2.1.0 #186

@stkent

Description

@stkent
  /path/to/app: 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]

This occurs even if lint is not enabled in the Gnag configuration.

Running the gnagDetekt task directly works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions