Skip to content

Fix buildcache #57

@warting

Description

@warting

The lint detector se.premex.lint.DenyListedApiDetector called context.getMainProject() during module analysis. This does not work correctly when running in AGP (8.1.3). 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: "BlockListedApi" Issue Vendors: Vendor: premex Identifier: premex-lint Call stack: Context.getMainProject(Context.kt:102)←DenyListedApiDetector$Companion.loadBlocklist(DenyListedApiDetector.kt:242)←DenyListedApiDetector$Companion.access$loadBlocklist(DenyListedApiDetector.kt:207)←DenyListedApiDetector.beforeCheckRootProject(DenyListedApiDetector.kt:44)←LintDriver.checkProject(LintDriver.kt:1122)←LintDriver.checkProjectRoot(LintDriver.kt:615)←LintDriver.access$checkProjectRoot(LintDriver.kt:170)←LintDriver$analyzeOnly$1.invoke(LintDriver.kt:441)←LintDriver$analyzeOnly$1.invoke(LintDriver.kt:438)←LintDriver.doAnalyze(LintDriver.kt:497)←LintDriver.analyzeOnly(LintDriver.kt:438)←LintCliClient$analyzeOnly$1.invoke(LintCliClient.kt:237)←LintCliClient$analyzeOnly$1.invoke(LintCliClient.kt:237)←LintCliClient.run(LintCliClient.kt:279)←LintCliClient.run$default(LintCliClient.kt:262)←LintCliClient.analyzeOnly(LintCliClient.kt:237)←Main.run(Main.java:1689)←Main.run(Main.java:275)←GeneratedMethodAccessor1010.invoke(null:-1)←DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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