# Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in E:\developSoftware\Android\SDK/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # 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 *; #} # Proguard Cocos2d-x-lite for release -keep public class org.cocos2dx.** { *; } -dontwarn org.cocos2dx.** # Proguard Apache HTTP for release -keep class org.apache.http.** { *; } -dontwarn org.apache.http.** # Proguard okhttp for release -keep class okhttp3.** { *; } -dontwarn okhttp3.** -keep class okio.** { *; } -dontwarn okio.** # Proguard Android Webivew for release. you can comment if you are not using a webview -keep public class android.net.http.SslError -keep public class android.webkit.WebViewClient -dontwarn android.webkit.WebView -dontwarn android.net.http.SslError -dontwarn android.webkit.WebViewClient # keep anysdk for release. you can comment if you are not using anysdk -keep public class com.anysdk.** { *; } -dontwarn com.anysdk.** -keep class com.bytedance.sdk.openadsdk.** { *; } -keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;} -keep class com.pgl.sys.ces.* {*;} -keep class com.tencent.mm.opensdk.** { *; } -keep class com.tencent.wxop.** { *; } -keep class com.tencent.mm.sdk.** { *; } -ignorewarnings -dontwarn com.umeng.** -dontwarn com.taobao.** -dontwarn anet.channel.** -dontwarn anetwork.channel.** -dontwarn org.android.** -dontwarn org.apache.thrift.** -dontwarn com.xiaomi.** -dontwarn com.huawei.** -dontwarn com.meizu.** -keepattributes *Annotation* -keep class com.taobao.** {*;} -keep class org.android.** {*;} -keep class anet.channel.** {*;} -keep class com.umeng.** {*;} -keep class com.xiaomi.** {*;} -keep class com.huawei.** {*;} -keep class com.meizu.** {*;} -keep class org.apache.thrift.** {*;} -keep class com.alibaba.sdk.android.**{*;} -keep class com.ut.**{*;} -keep class com.ta.**{*;} -keep class com.uc.** {*;} -keep public class **.R$*{ public static final int *; } -keepclassmembers class * { public (org.json.JSONObject); } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } # Add project specific ProGuard rules here. # You can control the set of applied configuration files using the # proguardFiles setting in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # 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 *; #} # Uncomment this to preserve the line number information for # debugging stack traces. -keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name. -renamesourcefileattribute SourceFile -keepparameternames -keep class com.bytedance.applog.AppLog { public *; } -keep public interface com.bytedance.applog.IDataObserver { *; } -keep public interface com.bytedance.applog.IAppParam { *; } -keep public interface com.bytedance.applog.IExtraParams { *; } -keep public interface com.bytedance.applog.IPicker { *; } -keep public interface com.bytedance.applog.IOaidObserver { *; } -keep class com.bytedance.applog.IOaidObserver$Oaid { *; } -keep class com.bytedance.applog.GameReportHelper { public *; } -keep class com.bytedance.applog.WhalerGameHelper { *; } -keep class com.bytedance.applog.WhalerGameHelper$Result { *; } -keep class com.bytedance.applog.InitConfig { public *; } -keep class com.bytedance.applog.util.UriConfig { public *; } -keep class com.bytedance.applog.tracker.Tracker { public *; } -keep class com.bytedance.applog.picker.Picker { public *; } -keep class com.bytedance.applog.tracker.WebViewJsUtil { *; } -keep interface com.bytedance.base_bdtracker.bt { public *; } -keep class com.bytedance.base_bdtracker.bt$a { public *; } -keep class com.bytedance.base_bdtracker.bt$a$a { public *; } # Add project specific ProGuard rules here. # You can control the set of applied configuration files using the # proguardFiles setting in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # 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 *; #} # Uncomment this to preserve the line number information for # debugging stack traces. #-keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile -dontwarn com.tencent.smtt.sdk.WebView -dontwarn com.tencent.smtt.sdk.WebChromeClient -dontwarn androidx.annotation.Nullable -dontwarn androidx.annotation.NonNull -dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient -dontwarn com.google.android.gms.ads.identifier.AdvertisingIdClient$Info -dontwarn androidx.appcompat.app.AlertDialog -dontwarn androidx.appcompat.view.menu.ListMenuItemView -dontwarn androidx.recyclerview.widget.RecyclerView -dontwarn androidx.swiperefreshlayout.widget.SwipeRefreshLayout -dontwarn androidx.viewpager.widget.ViewPager -dontwarn androidx.recyclerview.widget.RecyclerView -dontwarn androidx.annotation.RequiresApi -dontwarn androidx.fragment.app.FragmentActivity -dontwarn androidx.fragment.app.Fragment -dontwarn androidx.annotation.AnyThread -dontwarn androidx.annotation.WorkerThread #Topon -keep class com.androidquery.callback.** {*;} -keep class com.ss.sys.ces.* {*;} -keep class com.bytedance.sdk.openadsdk.** { *; } -keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;} -keep class com.pgl.sys.ces.* {*;} -keep class com.qq.e.** { public protected *; } -keep class android.support.v4.**{ public *; } -keep class android.support.v7.**{ public *; } -keep class MTT.ThirdAppInfoNew { *; } -keep class com.tencent.** { *; } -dontwarn dalvik.** -dontwarn com.tencent.smtt.** -keep public class com.anythink.network.** -keepclassmembers class com.anythink.network.** { public *; } -dontwarn com.anythink.hb.** -keep class com.anythink.hb.**{ *;} -dontwarn com.anythink.china.api.** -keep class com.anythink.china.api.**{ *;} # new in v5.6.6 -keep class com.anythink.myoffer.ui.**{ *;} -keepclassmembers public class com.anythink.myoffer.ui.** { public *; }