Hello everyone, I’m using multiplatform with the n...
# multiplatform
c
Hello everyone, I’m using multiplatform with the newly released viewmodel api and I’m getting the error whenever I try to call the viewmodel from the my composable (injecting with Koin), however if I remove it from the composable it doesn’t work crash, any idea why this could be happening please?
"java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[],nativeLibraryDirectories=[/data/app/com.android.chrome-MyzPsVBX0jIeJ6O8eoDPKg==/lib/arm64, /data/app/com.android.chrome-MyzPsVBX0jIeJ6O8eoDPKg==/base.apk!/lib/arm64-v8a, /data/app/com.google.android.trichromelibrary_626111933-E-y3217F2r5vO_z21w-zVQ==/base.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196) at java.lang.ClassLoader.loadClass(ClassLoader.java:379)"
g
How exactly are you injecting it?
c
I’m using
koinInject()
to inject the viewmodel in my composable
I fixed it now, the issue was because of the organization of my dependencies, the error message wasn’t helpful