https://kotlinlang.org logo
#koin
Title
# koin
a

Adam Ahmed

03/20/2024, 3:14 PM
Does Koin ship with any proguard rules? I couldn’t find anything in the sources, and we’re seeing a problem where any crash involving Koin is never properly deobfuscated, so there’s no way to know where it’s happening. See example below
Copy code
Caused by j50.a: Could not create instance for '[Singleton:'gd0.h']'
       at org.koin.core.error.InstanceCreationException.<init>(InstanceCreationException.java:23)
       at org.koin.core.instance.InstanceFactory.create(InstanceFactory.kt:57)
       at org.koin.core.instance.SingleInstanceFactory.create(SingleInstanceFactory.kt:46)
       at org.koin.core.instance.SingleInstanceFactory$get$1.invoke(SingleInstanceFactory.kt:55)
       at org.koin.core.instance.SingleInstanceFactory$get$1.invoke(SingleInstanceFactory.java:53)
       at org.koin.mp.KoinPlatformTools.synchronized(KoinPlatformTools.java:36)
       at org.koin.core.instance.SingleInstanceFactory.get(SingleInstanceFactory.kt:53)
       at org.koin.core.registry.InstanceRegistry.createEagerInstances(InstanceRegistry.java:91)
       at org.koin.core.registry.InstanceRegistry.createAllEagerInstances$koin_core(InstanceRegistry.java:62)
       at org.koin.core.Koin.createEagerInstances(Koin.kt:330)
       at org.koin.core.KoinApplication.createEagerInstances(KoinApplication.java:74)
       at org.koin.core.context.GlobalContext.startKoin(GlobalContext.java:65)
       at org.koin.core.context.DefaultContextExtKt.startKoin(DefaultContextExt.kt:40)
       at com.package.Application.initKoin(TravelPerkApplication.kt:89)
       at com.package.Application.onCreate(TravelPerkApplication.kt:81)
13 Views