# Unsupported metadata version. Check that your Kotlin version is \>= 1.0: java.lang.IllegalStateException: Unsupported metadata version. Check that your Kotlin version is \>= 1.0

**URL:** <https://forums.kodeco.com/t/unsupported-metadata-version-check-that-your-kotlin-version-is-1-0-java-lang-illegalstateexception-unsupported-metadata-version-check-that-your-kotlin-version-is-1-0/156366>\
**Category:** Real-World Android by Tutorials\
**Created:** [November 8, 2021, 4:57pm UTC](https://forums.kodeco.com/t/unsupported-metadata-version-check-that-your-kotlin-version-is-1-0-java-lang-illegalstateexception-unsupported-metadata-version-check-that-your-kotlin-version-is-1-0/156366 "2021-11-08T16:57:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![timacosta06](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/timacosta06/32/102075_2.png) [@timacosta06](https://forums.kodeco.com/u/timacosta06)\
**Post date:** [November 8, 2021, 4:57pm UTC](https://forums.kodeco.com/t/unsupported-metadata-version-check-that-your-kotlin-version-is-1-0-java-lang-illegalstateexception-unsupported-metadata-version-check-that-your-kotlin-version-is-1-0/156366/1 "2021-11-08T16:57:39Z")

</div>

08 Nov. 2021, chapter 08-multi-module-applications.

After creating the onboarding module and moving things around, I was getting the following:

```auto
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)

```

After digging a bit around, I found that the root cause was:

error: [Hilt]  
Unsupported metadata version. Check that your Kotlin version is \>= 1.0: java.lang.IllegalStateException: Unsupported metadata version. Check that your Kotlin version is \>= 1.0

After updating Hilt to the last available version based on [Gradle Build Setup](https://dagger.dev/hilt/gradle-setup), it worked.

I’m leaving this here for future iterations.
