Android-Exception整理之com.google.gson.internal.xxx cannot be cast to xxx
问题描述:
项目用到了Google的Gson库,不混淆情况下一切正常,当代码混淆打包时会遇到这种异常1
java.lang.ClassCastException: com.google.gson.internal.StringMap cannot be cast to xxx
或者1
java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to xxx