proguard-rules.pro 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in E:\developSoftware\Android\SDK/tools/proguard/proguard-android.txt
  4. # You can edit the include path and order by changing the proguardFiles
  5. # directive in build.gradle.
  6. #
  7. # For more details, see
  8. # http://developer.android.com/guide/developing/tools/proguard.html
  9. # Add any project specific keep options here:
  10. # If your project uses WebView with JS, uncomment the following
  11. # and specify the fully qualified class name to the JavaScript interface
  12. # class:
  13. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  14. # public *;
  15. #}
  16. # Proguard Cocos2d-x-lite for release
  17. -keep public class com.cocos.** { *; }
  18. -dontwarn com.cocos.**
  19. # Proguard Apache HTTP for release
  20. -keep class org.apache.http.** { *; }
  21. -dontwarn org.apache.http.**
  22. # Proguard okhttp for release
  23. -keep class okhttp3.** { *; }
  24. -dontwarn okhttp3.**
  25. -keep class okio.** { *; }
  26. -dontwarn okio.**
  27. # Proguard Android Webivew for release. you can comment if you are not using a webview
  28. -keep public class android.net.http.SslError
  29. -keep public class android.webkit.WebViewClient
  30. -dontwarn android.webkit.WebView
  31. -dontwarn android.net.http.SslError
  32. -dontwarn android.webkit.WebViewClient
  33. -keep class com.bytedance.sdk.openadsdk.** { *; }
  34. -keep public interface com.bytedance.sdk.openadsdk.downloadnew.** {*;}
  35. -keep class com.pgl.sys.ces.* {*;}
  36. -keep class com.qq.e.** {
  37. public protected *;
  38. }
  39. -keep class android.support.v4.**{
  40. public *;
  41. }
  42. -keep class android.support.v7.**{
  43. public *;
  44. }
  45. -keep class MTT.ThirdAppInfoNew {
  46. *;
  47. }
  48. -keep class com.tencent.** {
  49. *;
  50. }
  51. -dontwarn dalvik.**
  52. -dontwarn com.tencent.smtt.**
  53. -keep class org.chromium.** {*;}
  54. -keep class org.chromium.** { *; }
  55. -keep class aegon.chrome.** { *; }
  56. -keep class com.kwai.**{ *; }
  57. -dontwarn com.kwai.**
  58. -dontwarn com.kwad.**
  59. -dontwarn com.ksad.**
  60. -dontwarn aegon.chrome.**
  61. -keep class com.tencent.mm.opensdk.** {
  62. *;
  63. }
  64. -keep class com.tencent.wxop.** {
  65. *;
  66. }
  67. -keep class com.tencent.mm.sdk.** {
  68. *;
  69. }