Incompatible with Hilt
See original GitHub issueHi!
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:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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!).
Updating to Hilt 2.29 solves the problem 👌