https://kotlinlang.org logo
Title
u

user

06/26/2022, 10:11 PM
Unsupported metadata version. Check that your Kotlin version is >= 1.0: java.lang.IllegalStateException I changed my Kotlin version from 1.6.10 to 1.7.0. from this implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10' upgrated to implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.0' But Hilt throws an error. My Hilt version is 2.42. Is there a way to fix this without downgrading again? It works fine in Kotlin 1.6.10 and Hilt 2.42. But I want to use it by upgrading my kotlin version.

https://i.stack.imgur.com/AYQyc.png