码迷,mamicode.com
首页 > 其他好文 > 详细

混淆例子

时间:2014-07-19 17:00:05      阅读:194      评论:0      收藏:0      [点我收藏+]

标签:android   java   os   文件   io   cti   

在项目路径下新疆一个 proguard-project.txt文件 ,最后记得要用eclipse工具导出正式包才会用到混淆,调试模式没用

 

-optimizationpasses 5
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-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 com.android.vending.licensing.ILicensingService
-keep class com.alipay.** {*;}
-keep class com.umeng.** {*;}
-keep class org.eyu.cslib{*;}

-keepclasseswithmembernames class * {
native <methods>;
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet);
}

-keepclasseswithmembernames class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}

-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}

-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}

混淆例子,布布扣,bubuko.com

混淆例子

标签:android   java   os   文件   io   cti   

原文地址:http://www.cnblogs.com/tianjian/p/3853916.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!