Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 529 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hilt Unsupported metadata version in Kotlin

#11
I have an issue when upgrading `kotlin-gradle-plugin:1.7.x` for fulfill requirement of `compose`. I revert them to `org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21` and `kotlinCompilerExtensionVersion` value



composeOptions {
kotlinCompilerExtensionVersion compose_version
}

> kotlinCompilerExtensionVersion compose_version


Reply

#12
You can use

kotlin_version = "1.8.10"
hilt_version = "2.45"

That are the newest versions
Reply

#13
If you use kotlin version 1.8.0 then

in Project-level build.gradle change hilt version

id 'com.google.dagger.hilt.android' version '2.44' apply false

In App-level build.gradle

implementation "com.google.dagger:hilt-android:2.44"
kapt "com.google.dagger:hilt-compiler:2.44"
Reply

#14
Go to

[To see links please register here]

check Hilt currently version

***Update:*** For now, you can use the newest version.

`Kotlin:1.7.0` with `Hilt:2.42`
Reply

#15
In my case, the problem was caused by different versions specified in the dependencies:

- `2.40` in `classpath 'com.google.dagger:hilt-android-gradle-plugin'`
- `2.43.2` in `implementation 'com.google.dagger:hilt-android'`
Reply

#16
check the `hilt_version_one` is same to `hilt_version_two`

I get the problem , when my two version is different .

id 'com.google.dagger.hilt.android' version "$hilt_version_one" apply false
implementation "com.google.dagger:hilt-android:$hilt_version_two"
kapt "com.google.dagger:hilt-compiler:$hilt_version_two"
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through