Accumulated over time: Proguard obfuscated Android code

Source: Internet
Author: User

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

< p>

-Optimizationpasses 5-dontusemixedcaseclassnames // a variety of class names are not generated during obfuscation-dontskipnonpubliclibraryclasses // specify not to ignore non-public class libraries-dontpreverify // do not pre-verify-verbose-optimiz! Code/simplification/arithmetic ,! Field /*,! Class/merging/* // optimized // keep it as it is without obfuscation-keep public class * extends android. app. activity-keep public class * extends android. app. application-keep public class * extends android. app. service-keep public class * extends android. content. broadcastReceiver-keep public class * extends android. content. contentProvider-keep public class * extends android. app. backup. backupAgentHelper-keep public class * extends android. preference. preference-keep public class com. android. vending. licensing. ILicensingService // protects the names of specified classes and class Members. If all specified class members attend-keepclasseswithmembernames class * {native <methods> ;} // protect the specified class and class members, but the condition is that all specified classes and class Members must exist-keepclasseswithmembers class * {public <init> (android. content. context, android. util. attributeSet);}-keepclasseswithmembers class * {public <init> (android. content. context, android. util. attributeSet, int);} // protect the members of a specified class. If this class is protected, they will be better protected-keepclassmembers class * extends android. app. activity {public void * (android. view. view);}-keepclassmembers enum * {public static ** [] values (); public static ** valueOf (java. lang. string) ;}// protect specified class files and class Members-keep class * implements android. OS. parcelable {public static final android. OS. parcelable $ Creator *;}

< p>

< p>

< p>

< p>

< p>


< p>

< p>

< p>

< p>

< p>

< p>

< p>


< p>

< p>

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.