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.

Incompatible with Hilt

See original GitHub issue

Hi!

I’d like to use this library in my project but it seems to be incompatible with Hilt. Just by adding the dependency kapt starts to fail with cannot access GeneratedComponentManagerHolder.

I’ve seen in the modularised-example that there is an EnroHilt plugin but adding it to the navigation controller doesn’t change anything for me.

I’m currently using:

  • Hilt version: 1.0.0-alpha02
  • Enro version: 1.2.4

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
isaac-udycommented, Nov 3, 2020

@Cotel I’m very glad to hear that! Thanks for reporting the issue, please let me know if you have any other trouble (or any feature requests!).

0reactions
Cotelcommented, Nov 3, 2020

Updating to Hilt 2.29 solves the problem 👌

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dagger-hilt error while compiling project - Stack Overflow
Getting error below while using dagger-hilt. Unsupported metadata version. Check that your Kotlin version is >= 1.0: java.lang.
Read more >
Hilt Components - Dagger
Hilt comes with a built-in set of components (and corresponding scope annotations) that are automatically integrated into the various lifecycles of an Android ......
Read more >
Dagger Hilt For Beginners — Part 1 | by Fazal Hussain | Medium
I have learned about dagger-hilt recently so, I would like to share my findings with the ... I am facing an error that...
Read more >
Unsupported metadata version" in KaptWithoutKotlincTask ...
"IllegalStateException: Unsupported metadata version" in KaptWithoutKotlincTask with 1.5.0-M2. Relates to 1. Relates to 1 issue (0 unresolved).
Read more >
MissingDimensionStrategy not working with Hilt Plugin ...
BuildTypeAttr' with value 'debug': - Incompatible because this component declares an ... Also use the 'dagger.hilt.android.plugin' plugin in the app module.
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