kotlin.reflect.jvm.internal.kotlinreflectioninternalerror时,当降低时
我有问题。 当我的应用程序MinifyEnabled为True时,它崩溃了!错误如下:
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: This callable does not support a default call: public constructor LoginResultBean
我认为必须与Moshi和R8有一些关系。我需要帮助...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
希望这会有所帮助。
Hope this can help.
-keep class yourpackage.** { *; }
. More about the keep option.由于这似乎是由反思代码引起的,因此您可能需要更多的程序保留规则。请参阅 https://develoveling.com/stroid.com/studio/studio/build/build/build/shrink-code 有关更多信息。
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.