pda/zhuike/proguard-rules.pro

295 lines
9.8 KiB
Prolog
Raw Normal View History

2019-02-01 09:19:44 +08:00
# Add project specific ProGuard rules here.
2019-05-11 23:21:57 +08:00
# By default, the flags in this file are appended to flags specified
# in D:\Android\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
2019-02-01 09:19:44 +08:00
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
2019-05-11 23:21:57 +08:00
# Add any project specific keep options here:
2019-02-01 09:19:44 +08:00
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
2019-05-11 23:21:57 +08:00
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}
2019-05-24 00:33:30 +08:00
#ָ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-optimizationpasses 5
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>Сд
2019-05-11 23:21:57 +08:00
-dontusemixedcaseclassnames
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD>ȥ<EFBFBD><EFBFBD><EFBFBD>Էǹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-dontskipnonpubliclibraryclasses
2019-05-24 00:33:30 +08:00
#<EFBFBD>Ż<EFBFBD> <20><><EFBFBD>Ż<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>
2019-05-11 23:21:57 +08:00
# -dontoptimize
2019-05-24 00:33:30 +08:00
#ԤУ<EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-dontpreverify
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>Ƿ<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>־
2019-05-11 23:21:57 +08:00
-verbose
2019-05-24 00:33:30 +08:00
# <20><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע<EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepattributes *Annotation*
2019-05-24 00:33:30 +08:00
# <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Щ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keep public class * extends android.app.Fragment
-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
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>v4<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keep public class * extends android.support.v4.app.Fragment
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD>Ծ<EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-ignorewarning
2019-05-24 00:33:30 +08:00
##<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD><EFBFBD><EFBFBD>,gradle buildʱ<EFBFBD>ڱ<EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD>Ŀ¼<EFBFBD><EFBFBD><EFBFBD>##
#apk <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> class <20><><EFBFBD>ڲ<EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-dump proguard/class_files.txt
2019-05-24 00:33:30 +08:00
#δ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͳ<EFBFBD>Ա
2019-05-11 23:21:57 +08:00
-printseeds proguard/seeds.txt
2019-05-24 00:33:30 +08:00
#<EFBFBD>г<EFBFBD><EFBFBD><EFBFBD> apk <20><>ɾ<EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-printusage proguard/unused.txt
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><EFBFBD><EFBFBD>ӳ<EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-printmapping proguard/mapping.txt
2019-05-24 00:33:30 +08:00
########<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD><EFBFBD><EFBFBD>־<EFBFBD><EFBFBD><EFBFBD>ݣ<EFBFBD>gradle buildʱ <20>ڱ<EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD>Ŀ¼<EFBFBD><EFBFBD><EFBFBD>-end######
2019-05-11 23:21:57 +08:00
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>v4<EFBFBD><EFBFBD><EFBFBD><EFBFBD>v7<EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-dontwarn android.support.**
-keep class com.google.** { *; }
-keep class android.support.v4.**
-dontwarn android.support.v4.**
-keep class android.support.v7.**
-dontwarn android.support.v7.**
2019-05-24 00:33:30 +08:00
####<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>IJ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>õĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>jar<EFBFBD><EFBFBD>library-end####
2019-05-11 23:21:57 +08:00
2024-02-06 21:23:28 +08:00
-keep class com.blankj.** { *;}
2019-05-11 23:21:57 +08:00
2024-02-06 21:23:28 +08:00
-keep class utilcode.** { *;}
-keep class com.caysn.** { *;}
2019-05-11 23:21:57 +08:00
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD> native <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepclasseswithmembernames class * {
native <methods>;
}
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
-keep public class * extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
public void set*(...);
}
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Parcelable <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Serializable <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepnames class * implements java.io.Serializable
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Serializable <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>enum <20><>Ҳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
!static !transient <fields>;
!private <fields>;
!private <methods>;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD><EFBFBD> enum <20><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keepclassmembers class * {
public void *ButtonClicked(android.view.View);
}
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepclassmembers class **.R$* {
public static <fields>;
}
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ص<EFBFBD>
2019-05-11 23:21:57 +08:00
#-keepattributes Signature
2019-05-24 00:33:30 +08:00
#<EFBFBD>Ƴ<EFBFBD>Log<EFBFBD><EFBFBD><EFBFBD>ӡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȼ<EFBFBD><EFBFBD><EFBFBD>־<EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD>logʹ<EFBFBD>ã<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD>ֹlog<EFBFBD><EFBFBD>ӡ<EFBFBD>Ĺ<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>ã<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>ʵ<EFBFBD>ַ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD>BuildConfig.DEBUG<EFBFBD>ı<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
#-assumenosideeffects class android.util.Log {
# public static *** v(...);
# public static *** i(...);
# public static *** d(...);
# public static *** w(...);
# public static *** e(...);
2019-02-01 09:19:44 +08:00
#}
2019-05-11 23:21:57 +08:00
#############################################################################################
2019-05-24 00:33:30 +08:00
######################## <20><><EFBFBD><EFBFBD>ͨ<EFBFBD><EFBFBD> ##################################
2019-05-11 23:21:57 +08:00
#############################################################################################
2019-05-24 00:33:30 +08:00
####################### <20><><EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><EFBFBD>Ļ<EFBFBD><EFBFBD><EFBFBD>ѡ<EFBFBD><EFBFBD> ###################################
2019-05-11 23:21:57 +08:00
#gson
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>Gson<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><EFBFBD>ܳɹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȼ<EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepattributes Signature
# Gson specific classes
-keep class sun.misc.Unsafe { *; }
# Application classes that will be serialized/deserialized over Gson
-keep class com.google.gson.** { *; }
-keep class com.google.gson.stream.** { *; }
-keep class com.google.**{*;}
#butterknife
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }
-keepclasseswithmembernames class * {
@butterknife.* <fields>;
}
-keepclasseswithmembernames class * {
@butterknife.* <methods>;
}
2019-05-24 00:33:30 +08:00
######<EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Module<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>app<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
2019-05-24 00:33:30 +08:00
# <20><><EFBFBD>ʹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Gson֮<EFBFBD><EFBFBD>Ĺ<EFBFBD><EFBFBD><EFBFBD>Ҫʹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>JavaBean<EFBFBD>༴ʵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keep class com.novelbook.android.bean.** { *; }
-keep class com.novelbook.android.db.** { *; }
2019-05-24 00:33:30 +08:00
#####<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD>IJ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>õĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>jar<EFBFBD><EFBFBD>library#######
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>ǰ<EFBFBD><EFBFBD>application module<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>library module<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD>ӹ<EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
#-libraryjars xxx
2019-05-24 00:33:30 +08:00
#<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˷<EFBFBD><EFBFBD><EFBFBD><EFBFBD>п<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͬһ<EFBFBD><EFBFBD>jar<EFBFBD><EFBFBD>α<EFBFBD>ָ<EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>ֻ<EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD>Ӻ<EFBFBD><EFBFBD>Ծ<EFBFBD><EFBFBD><EFBFBD>ͱ<EFBFBD><EFBFBD><EFBFBD>ijЩclass<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#<EFBFBD><EFBFBD>libaray<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˿<EFBFBD>Դ<EFBFBD><EFBFBD>Ŀ,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> keep <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>module<EFBFBD><EFBFBD>build.gradle<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>minifyEnabled=false
2019-05-11 23:21:57 +08:00
# banner
-keep class com.youth.banner** { *; }
-keep interface com.youth.banner.** { *; }
-dontwarn com.youth.banner.**
#LitePal
-keep class org.litepal.** { *; }
-keep class * extends org.litepal.crud.DataSupport { *; }
#pagerslidingtabstrip
-keep class com.astuetz.** { *; }
2024-02-06 21:23:28 +08:00
-keep class com.blankj.** { *; }
-keep class com.sun.** { *; }
2019-05-11 23:21:57 +08:00
#UMENG
-keep class com.umeng.** {*;}
-keepclassmembers class * {
public <init> (org.json.JSONObject);
}
2024-02-06 21:23:28 +08:00
2019-05-11 23:21:57 +08:00
#okhttp3
-dontwarn okio.**
-keepattributes Signature
-keepattributes *Annotation*
-keep class okhttp3.** { *; }
-keep interface okhttp3.** { *; }
-dontwarn okhttp3.**
-dontwarn com.squareup.okhttp3.**
-keep class com.squareup.okhttp3.** { *;}
-dontwarn okhttp3.logging.**
-keep class okhttp3.internal.**{*;}
# -keep class com.novelbook.android.netapi.**{*;}
# Retrofit
-dontwarn retrofit2.**
-keep class retrofit2.** { *; }
-keepattributes Signature
-keepattributes Exceptions
-keepclasseswithmembers class * {
@retrofit2.http.* <methods>;
}
# RxJava RxAndroid
-dontwarn sun.misc.**
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* {
long producerIndex;
long consumerIndex;
}
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef {
rx.internal.util.atomic.LinkedQueueNode producerNode;
}
-keepclassmembers class rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef {
rx.internal.util.atomic.LinkedQueueNode consumerNode;
}
#glide
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
2019-05-24 00:33:30 +08:00
# <20><><EFBFBD>ڴ<EFBFBD><EFBFBD>лص<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>onXXEvent<EFBFBD><EFBFBD>**On*Listener<EFBFBD>ģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
2019-05-11 23:21:57 +08:00
-keepclassmembers class * {
void *(**On*Event);
void *(**On*Listener);
}
2019-06-01 22:01:34 +08:00
-assumenosideeffects class android.util.Log {
public static boolean isLoggable(java.lang.String,int);
public static int v(...);
public static int i(...);
public static int w(...);
public static int d(...);
public static int e(...);
}
2019-05-11 23:21:57 +08:00
2019-02-01 09:19:44 +08:00
2019-05-28 23:57:05 +08:00
# 嵌入广点通sdk时必须添加
-keep class com.qq.e.** {
public protected *;
}
2019-06-01 22:01:34 +08:00
#穿山甲广告
-keep class com.bytedance.sdk.openadsdk.** { *; }
-keep class com.androidquery.callback.** {*;}
-keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;}
-keep class com.ss.sys.ces.* {*;}
#GOOGLE MOBAD
2019-06-18 23:56:42 +08:00
#-keep com.google.android.gms.ads.** { *; }
2024-02-06 21:23:28 +08:00