Hi there. I created a Xamarin Bindings library for...
# android
s
Hi there. I created a Xamarin Bindings library for a native library I wrote in Kotlin Multiplatform Mobile that depends on ktor. When I launch the Android app that uses this bindings library wrapping the ktor library, I see the following error
Copy code
Java.Lang.NoClassDefFoundError: Failed resolution of: Lio/ktor/client/engine/okhttp/OkHttp; ---> Java.Lang.ClassNotFoundException: Didn't find class "io.ktor.client.engine.okhttp.OkHttp" on path
I understand I'm missing a dependency on my bindings library / xamarin forms app, but I'm not sure how to proceed. Did anyone try already to use a KMM library with ktor dependency from Xamarin Forms that experienced this error before? Thanks.
👍 1