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