Hi everyone! I’m using a library that, as I can se...
# koin
a
Hi everyone! I’m using a library that, as I can see, has dependencies on koin-android 3.1.6 and also on koin-core 3.1.6. As a limitation on my side, I can only add those dependencies on AAR or JAR files. I have found and added the koin-android AAR and the koin-core JAR, but when I run my app I’m having the following error: “Failed resolution of: Lorg/koin/dsl/KoinApplicationKt” It looks like haven’t found the class KoinApplication that if I’m right, it should be in the koin-core JAR. Does anyone know why it isn’t finding the class KoinApplication? Do I have to use a specific koin-core JAR file? Is there a koin-core AAR version to try?
a
you should take a look at
koin-core-jvm
jar
but the main issue is is that you try to link jar/aar by hand
why don’t you use gradle dependency?
a
Hi Arnaud! Thanks for your response! I’m trying to bind it to a Xamarin project (where by a Xamarin limitation I can’t use gradle)
Do I have to download the “sources.jar” or “.jar” one?
It works adding
koin-core-jvm
jar! Thanks for that tip @arnaud.giuliani!!
Now I have had another issue but it is related to the
koin-android
as I can see
“Java.Lang.NoClassDefFoundError: Failed resolution of: Lorg/koin/android/ext/koin/KoinExtKt”
I fixed it, thanks again!!
a
did you mixed Koin versions?
e
Not sure, it could be
229 Views