Open mmn-siddiqui opened 3 years ago
I am facing the same issue.
using classpath("com.google.dagger:hilt-android-gradle-plugin:2.38.1")
I facing this problem too and solve this after follow this Stack Overflow. I think your kotlin version is not compatible with Hilt version.
Go to https://dagger.dev/hilt/gradle-setup and check Hilt currently version
Update: For now, you can use the newest version.
Kotlin:1.7.10 with Hilt:2.42 kotlin:1.6.0 is compatible with hilt:2.40.5 Kotlin 1.5.21 is compatible with Hilt 2.38.
by @Mario-paul Kotlin '1.8.21' with Hilt '2.46.1' compiled with no issue (2023)
Go to https://dagger.dev/hilt/gradle-setup and check Hilt currently version
Update: For now, you can use the newest version.
Kotlin:1.7.10 with Hilt:2.42 kotlin:1.6.0 is compatible with hilt:2.40.5 Kotlin 1.5.21 is compatible with Hilt 2.38.
For me Kotlin '1.8.21' with Hilt '2.46.1' compiled with no issue (2023)
Hi! I believe you have to use the same version in the libraries and the gradle plugin. Can you try with:
Originally posted by @manuelvicnt in https://github.com/googlecodelabs/android-hilt/issues/10#issuecomment-717750343
I have the same problem but my libraries and Gradle plugin has same version