# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontwarn
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-dontshrink
-dontoptimize
-dontwarn com.google.android.maps.**
-dontwarn android.webkit.WebView
-dontwarn com.umeng.**
-dontwarn com.tencent.weibo.sdk.**
-dontwarn com.facebook.**
-dontwarn com.baohulove.**
-dontwarn com.care.love.**
-dontwarn cn.jpush.**
-dontwarn com.baidu.**
-dontwarn com.squareup.**
-libraryjars libs/afinal-0.3.32-bin.jar
-libraryjars libs/android-support-v4.jar
-libraryjars libs/android-support-v7-recyclerview.jar
-libraryjars libs/gson-2.2.4.jar
-libraryjars libs/jpush-sdk-release1.7.2.jar
-libraryjars libs/YoumiSdk_4.09_2014-08-21.jar
-libraryjars libs/com.baohuai.main_dl.jar
-libraryjars libs/Baidu-Frontia-Android-2.0.7.jar
-libraryjars libs/nineoldandroids-2.4.0.jar
-libraryjars libs/SocialSDK_WeiXin.jar
-libraryjars libs/picasso-2.5.0.jar
-libraryjars libs/umeng-analytics-v5.2.3.jar
-libraryjars libs/umeng-update-v2.4.2.jar
-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 class * extends android.content.ContentProvider
-keep public class com.android.vending.licensing.ILicensingService
-keep public class * extends android.content.ContentProvider
-keep class * extends com.xxx.xxx.xxx.BaseEntity{*; }
-keep public class * implements java.io.Serializable {*; }
-keep class * extends com.xxx.xxx.xxxx.BaseActivity
-keep public class * extends net.tsz.afinal.FinalActivity
-keep public class net.tsz.*.** {*;}
-keep public class com.google.*.** {*;}
-keep public class org.jivesoftware.** {*;}
-keep class android.support.v4.** {*;}
-keep class android.support.v7.** { *; }
-keep class cn.jpush.** { *; }
-keep class com.baidu.** { *; }
-keep class com.squareup.** { *; }
-keep class com.nineoldandroids.** { *; }
-keep public class com.smaxe.** {*;}
-keep public class com.hp.** {*;}
-keep public class net.sourceforge.** {*;}
-keep public class android.content.** {*;}
-keep class com.google.gson.stream.** { *; }
-keep class com.google.gson.examples.android.model.** { *; }
-keep class com.google.gson.** { *; }
-keep class com.umeng.** { *; }
-keep class u.aly.** { *; }
-keep class u.upd.** { *; }
-keep class com.squareup.** { *; }
-keep class net.tsz.afinal.** { *; }
-keep class com.umeng.fb.ui.ThreadView {
}
-keep public class com.fortune.bear.R$*{
public static final int *;
}
-keep class android.os.FileUtils { *; }
-keep class com.android.internal.R$*{
public static final int *;
}
-keep class android.net.NetworkPolicyManager { *; }
-keep class android.app.ActivityManagerNative { *; }
-keep class sun.misc.Unsafe { *; }
-keep class com.squareup.picasso.okhttp.** { *; }
-keep class android.app.Notification { *; }
-keep class libcore.icu.ICU { *; }
-keep class dalvik.system.DexPathList { *; }
-keep class android.app.ContextImpl { *; }
-keep class android.app.LoadedApk { *; }
-keep class com.android.internal.telephony.PhoneFactory { *; }
#-keep public class com.alipay.android.app.** {*; }
-keepattributes Signature
-keepattributes *Annotation*
-keep class com.google.gson.examples.android.model.** { *; }
-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 *;}
-keepclassmembers class * {
public <init>(org.json.JSONObject);
}
-keep class com.care.love.** {
*;
}
-keep enum com.facebook.**
-keepattributes Exceptions,InnerClasses,Signature
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
-keep public interface com.facebook.**
-keep public interface com.tencent.**
-keep public interface com.umeng.socialize.**
-keep public interface com.umeng.socialize.sensor.**
-keep public interface com.umeng.scrshot.**
-keep public class com.umeng.socialize.* {*;}
-keep public class javax.**
-keep public class android.webkit.**
-keep class com.facebook.**
-keep class com.umeng.scrshot.**
-keep public class com.tencent.** {*;}
-keep class com.umeng.socialize.sensor.**
-keep class com.tencent.mm.sdk.openapi.WXMediaMessage {*;}
-keep class com.tencent.mm.sdk.openapi.** implements com.tencent.mm.sdk.openapi.WXMediaMessage$IMediaObject {*;}
-keep class im.yixin.sdk.api.YXMessage {*;}
-keep class im.yixin.sdk.api.** implements im.yixin.sdk.api.YXMessage$YXMessageData{*;}
-keep public class [your_pkg].R$*{
public static final int *;
}
-keep class **.R$* { *;
}
-keepclassmembers class * {
public <init>(org.json.JSONObject);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep public class com.umeng.fb.ui.ThreadView {
}
没有合适的资源?快使用搜索试试~ 我知道了~
使用ant批量打包并且实现proguard-project.txt混淆代码
共7个文件
properties:3个
xml:3个
txt:1个
5星 · 超过95%的资源 需积分: 32 307 下载量 92 浏览量
2015-03-31
18:50:49
上传
评论 1
收藏 8KB ZIP 举报
温馨提示
使用ant批量打包并且实现proguard-project.txt混淆代码需要在项目里面配置一些参数,这个zip文件里有比较好的参考,虽然里面可能有些混淆配置有出入,但可以拿来借鉴,不过实际问题多看warn提示然后对应解决
资源推荐
资源详情
资源评论
收起资源包目录
使用ant批量打包并且实现proguard-project.txt混淆代码.zip (7个子文件)
使用ant批量打包并且实现proguard-project.txt混淆代码
proguard-project.txt 6KB
ant.properties 374B
build.xml 4KB
custom_rules.xml 2KB
local.properties 457B
project.properties 646B
AndroidManifest.xml 697B
共 7 条
- 1
fancylovejava
- 粉丝: 1053
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页