Did anyone get this error when building with minif...
# kodein
y
Did anyone get this error when building with minifyEnabled (Kodein 7.12.0)
Copy code
Caused by: java.lang.RuntimeException: Invalid TypeToken; must specify type parameters
        at org.kodein.type.TypeReference.<init>(Unknown Source:40)
        at tb.b.<init>(Unknown Source:0)
        at tb.n.invoke(Unknown Source:19)
        at tb.a0.invoke(SourceFile:1)
I already added the following to my
<http://proguard-rules.pro|proguard-rules.pro>
Copy code
-keep class org.kodein.type.TypeReference { *; }
-keep class org.kodein.type.TypeToken { *; }
Also I can't access the docs regarding proguard https://docs.kodein.org/kodein-di/7.6/framework/android.html#_proguard_configuration Website seems to be down
r
y
Thanks, solved it
263 Views