Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Lint error "FlurryVersionMismatch" #27

Description

@PatrickKuijpers

Since version 13.1.0 our Android project build fails on lint errors:

Lint found 1 error. First failure:
/bitrise/src/account/build.gradle: Error: The lint detector
    com.flurry.android.versionlint.FlurryVersionDetector
called context.getMainProject() during module analysis.

This does not work correctly when running in AGP (7.0.4).

In particular, there may be false positives or false negatives because
the lint check may be using the minSdkVersion or manifest information
from the library instead of any consuming app module.

Contact the vendor of the lint issue to get it fixed/updated (if
known, listed below), and in the meantime you can try to work around
this by disabling the following issues:

"FlurryVersionMismatch"

Issue Vendors:
Identifier: jetified-analytics-13.1.0

Call stack: Context.getMainProject(Context.kt:117)←FlurryVersionDetector.visitBuildScript(FlurryVersionDetector.java:84)←LintDriver$checkBuildScripts$2.run(LintDriver.kt:1494)←LintClient.runReadAction(LintClient.kt:1780)←LintDriver$LintClientWrapper.runReadAction(LintDriver.kt:2647)←LintDriver.checkBuildScripts(LintDriver.kt:1485)←LintDriver.runFileDetectors(LintDriver.kt:1403)←LintDriver.checkProject(LintDriver.kt:1153)←LintDriver.checkProjectRoot(LintDriver.kt:629)←LintDriver.access$checkProjectRoot(LintDriver.kt:154)←LintDriver$analyzeOnly$1.invoke(LintDriver.kt:443)←LintDriver$analyzeOnly$1.invoke(LintDriver.kt:436)←LintDriver.doAnalyze(LintDriver.kt:503)←LintDriver.analyzeOnly(LintDriver.kt:435)←LintCliClient$analyzeOnly$1.invoke(LintCliClient.kt:241)←LintCliClient$analyzeOnly$1.invoke(LintCliClient.kt:241)←LintCliClient.run(LintCliClient.kt:283)←LintCliClient.run$default(LintCliClient.kt:266)←LintCliClient.analyzeOnly(LintCliClient.kt:241)←Main.run(Main.java:1544) [LintError]

This issue doesn't occur in version 13.0.1.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions