question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dagger.lint.DaggerKotlinIssueDetector failing in recent versions of dagger/hilt/agp

See original GitHub issue

In the past few days I’ve been upgrading my repo from chipmunk c5 and a bunch of dependencies. I haven’t been able to figure out the exact culprit, but when I run lint, lint crashes internally seemingly. It gives me this error.

The crash seems to involve the detector dagger.lint.DaggerKotlinIssueDetector.
You can try disabling it with something like this:
    android {
        lintOptions {
            disable "JvmStaticProvidesInObjectDetector", "FieldSiteTargetOnQualifierAnnotation", "ModuleCompanionObjects", "ModuleCompanionObjectsNotInModuleParent"
        }
    }

I’ll try to report back with more info but let me know if this seems like an agp thing or dagger.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
danysantiagocommented, Feb 10, 2022

Umm, sometime this month. 🙂

We are just trying to also finish a few more fixes before making a release. Thank you for your patience!

1reaction
gagan-hotstarcommented, Feb 8, 2022

@danysantiago thanks, any rough ETA for the next release, this will be helpful in upgrading the AGP

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle dagger lint: ignore by package - android - Stack Overflow
FYI, as of version 0.10.1 of the Android Gradle plugin this will no longer be necessary; lint will automatically ignore these issues found...
Read more >
Lint Fails when using lateinit var inside tests - Issue Tracker
We are getting failures in our test class when running ./gradlew lintDebug . ... should resolve it just by updating to the latest...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found