https://kotlinlang.org logo
d

dimsuz

02/24/2022, 2:42 PM
I'm seeing this error from applying anvil plugin:
e: java.lang.NoSuchMethodError: 'org.jetbrains.kotlin.ir.util.IdSignature$PublicSignature org.jetbrains.kotlin.ir.util.IdSignature.asPublic()'
found the similar github issue, it says to update anvil version, but I'm already using: kotlin-1.6.10 anvil-2.3.11 dagger-2.39.1 // this one is a bit old could it be because of dagger version?
z

Zac Sweers

02/24/2022, 2:47 PM
you need to use anvil
2.3.11-1-6-10
as the release notes mention: https://github.com/square/anvil/releases/tag/v2.3.11
d

dimsuz

02/24/2022, 4:15 PM
oooh. somehow I thought this is just a "decoration" on the badge which indicates that this version is compatible with 1.6.10. Thanks, will try it
damn, plugins.gradle.org decided to go down right after I've learnt how to fix this 🙂
6 Views