Hey guys, anyone running into a weird issue where using compose with pro-guard enabled, minify and shrink resources gets this exception when using Retrofit with Moshi code-gen ?
Everything works fine in debug mode without proguard, same network code is used on non-compose project, there isn't any crash like this.
java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
e
ephemient
06/23/2021, 3:32 PM
sounds like proguard is stripping signatures, see if