Today, there is a very strange problem, confusing packaging caused by, so far do not understand why. The main phenomenon is an implementation of the Parcelable Userbean, the data member contains a Usertag object, the latter also implements the parcel interface, and then uses the JSON and the server to pass the value. When the label is not set, everything OK, as long as the setting of the label, will be error, errors can only be targeted to the conversion problem.
But do not confuse the code or debug packages are good, the label has been OK.
Is it a problem to nest parcelable object members within a Parcelable object? or forget what keep.
Mark, it's in the air.
Here's proguard-project.txt.
-keepclassmembersclassFqcn.of.javascript.Interface. for. WebView { Public*;} # The third-Party Library-dontwarn Net.tsz.afinal.**-keepclassnet.tsz.afinal.** {*;}-dontwarn Com.alibaba.fastjson.**-keepclasscom.alibaba.fastjson.** {*;}-dontwarn Com.baidu.**-keepclasscom.baidu.** {*;}-dontwarn Io.rong.**-keepclassio.rong.** {*;}-dontwarn Org.apache.http.**-keepclassorg.apache.http.** {*;}-dontwarn Com.ant.liao.**-keepclasscom.ant.liao.** {*;}-dontwarn Org.json.**-keepclassorg.json.** {*;}-dontwarn Pl.droidsonroids.gif.**-keepclasspl.droidsonroids.gif.** {*;}-Keepclassandroid.** {*;} -keepclasseswithmembersclass*{ Public*;} -assumenosideeffectsclassAndroid.util.Log { Public Static***e (...); Public Static***W (...); Public Static***wtf (...); Public Static***d (...); Public Static***V (...);}
Error in JSON parsing object after package apk obfuscation