Closed wtlgo closed 1 week ago
We have exactly the same issue in our project. Any updates on this?
Hi, we will try to investigate this problem soon
@buehlerjochen, @wtlgo try to add this rule to your ProGuard rules file
-keepclassmembers public class **$$serializer {
private ** descriptor;
}
Related issue in ProGuard https://github.com/Guardsquare/proguard/issues/415
@shanshin Sorry for the late response, Just tested you proposal and it seems to solve the issue. Thank you very much!
Describe the bug
If I try to optimize the application by disabling
I get the following error:
If I disable the optimization, though, everything works OK.
To Reproduce
Here's a project with reproduction: https://github.com/wtlgo/Kotlin-Serialization-Proguard
Expected behavior
It should work correctly either with or without optimization
Environment
com.guardsquare:proguard-gradle:7.5.0