Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin 2.0.0 + Hilt supporting #144

Open
IvanMikhayluts opened this issue Aug 29, 2024 · 0 comments
Open

Kotlin 2.0.0 + Hilt supporting #144

IvanMikhayluts opened this issue Aug 29, 2024 · 0 comments

Comments

@IvanMikhayluts
Copy link

Unfortunately kotlin 2.0.0 + Hilt is not supported now.
When trying to build gradle throws error:

Unable to read Kotlin metadata due to unsupported metadata version.: java.lang.IllegalStateException: Unable to read Kotlin metadata due to unsupported metadata version.
  	at dagger.hilt.processor.internal.kotlin.KotlinMetadata.metadataOf(KotlinMetadata.java:206)
  	at dagger.hilt.processor.internal.kotlin.KotlinMetadata.from(KotlinMetadata.java:187)
  	at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
  	at dagger.hilt.processor.internal.kotlin.KotlinMetadataFactory.create(KotlinMetadataFactory.java:57)
  	at dagger.hilt.processor.internal.kotlin.KotlinMetadataFactory.create(KotlinMetadataFactory.java:68)
  	at dagger.hilt.processor.internal.kotlin.KotlinMetadataUtil.containsConstructorWithDefaultParam(KotlinMetadataUtil.java:215)
Unable to read Kotlin metadata due to unsupported metadata version.

I don't check whether supports kotlin 2.0.0 without hilt. I assume that the problems will remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant