Reputation: 11
I get a problem. when my app minifyenabled is true , it crashed ! and the error is following:
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: This callable does not support a default call: public constructor LoginResultBean
I think there must be some relationships with moshi and R8. I need help...
Upvotes: 1
Views: 1862
Reputation: 188
Hope this can help.
-keep class yourpackage.** { *; }
. More about the keep option.Upvotes: 1
Reputation: 4628
As this seems to be caused by reflective code, you might need more keep rules for your program. See https://developer.android.com/studio/build/shrink-code for more information.
Upvotes: 0