Closed RaysonYeungHK closed 1 year ago
We do not use Hilt at Airbnb so I don't think I can help here but the error
Caused by: java.lang.NoSuchMethodError: 'kotlinx.metadata.jvm.KotlinClassMetadata kotlinx.metadata.jvm.KotlinClassMetadata$Companion.read(kotlinx.metadata.jvm.KotlinClassHeader)'
seems to point and a wrong (old) KotlinX dependency?
At the end I found out the DeepLinkDispatch is using
org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.6.0
which is not compatible with Hilt 2.45.
I will report this to Hilt instead, thanks a lot
I was trying to create a project with Hilt and DeepLinkDispatch. Unfortunately it is not compatible to each other.
When
javax.inject.Inject
is added to the project, it cause compile errorThis is the error message
It is very simple to reproduce the issue.
Initial the project with basic setting of Hilt and DeepLinkDispatch