title: Hilt Unsupported metadata version in Kotlin
body: <p>I was tried to run my code in Kotlin 1.5.10
  With plugin as</p>
  <pre><code>plugins {
  id 'com.android.application'
  id 'kotlin-android'
  id 'kotlin-kapt'
  id 'dagger.hilt.android.plugin'
  </code></pre>
  <p>and dependencies as below</p>
  <pre><code>dependencies {
      ...
      //Dagger - Hilt
      implementation &quot;com.google.dagger:hilt-android:2.33-beta&quot;
      kapt &quot;com.google.dagger:hilt-android-compiler:2.33-beta&quot;
      implementation &quot;androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03&quot;
      kapt &quot;androidx.hilt:hilt-compiler:1.0.0-beta01&quot;
      implementation 'androidx.hilt:hilt-navigation-compose:1.0.0-alpha01'
  
      implementation 'com.android.support:palette-v7:28.0.0'
  </code></pre>
  <p>When I migrate to kotlin_version = &quot;1.5.10&quot;, it just errors out stating</p>
  <blockquote>
  <p>error: [Hilt]
  Unsupported metadata version. Check that your Kotlin version is &gt;= 1.0: java.lang.IllegalStateException: Unsupported metadata version. Check that your Kotlin version is &gt;= 1.0
  at dagger.internal.codegen.kotlin.KotlinMetadata.metadataOf(KotlinMetadata.java:206)
  at dagger.internal.codegen.kotlin.KotlinMetadata.from(KotlinMetadata.java:186)
  at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1133)
  ...</p>
  </blockquote>
  <p>Can anyone help me? I spent a lot of time on it, your answer will help me a lot</p>