isMinifyEnabled = true, produced the java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to Error

PressRex profile image
by PressRex
isMinifyEnabled = true, produced the java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to Error

Once I set isMinifyEnabled = true, I am getting java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to Error error,Please give me suggesttion for the solution.

I have used the below keep as well

-keep class com.google.gson.internal.** { *; }

Source: View source

PressRex profile image
by PressRex

Subscribe to New Posts

Lorem ultrices malesuada sapien amet pulvinar quis. Feugiat etiam ullamcorper pharetra vitae nibh enim vel.

Success! Now Check Your Email

To complete Subscribe, click the confirmation link in your inbox. If it doesn’t arrive within 3 minutes, check your spam folder.

Ok, Thanks

Read More