Error in JSON parsing object after package apk obfuscation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.