proguard-rules.pro 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. # Add project specific ProGuard rules here.
  2. # You can control the set of applied configuration files using the
  3. # proguardFiles setting in build.gradle.
  4. #
  5. # For more details, see
  6. # http://developer.android.com/guide/developing/tools/proguard.html
  7. # If your project uses WebView with JS, uncomment the following
  8. # and specify the fully qualified class name to the JavaScript interface
  9. # class:
  10. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  11. # public *;
  12. #}
  13. # Uncomment this to preserve the line number information for
  14. # debugging stack traces.
  15. #-keepattributes SourceFile,LineNumberTable
  16. # If you keep the line number information, uncomment this to
  17. # hide the original source file name.
  18. #-renamesourcefileattribute SourceFile
  19. -keep class com.huawei.tools.**{*;}
  20. -keep class com.huawei.ability.**{*;}
  21. -keep class org.kxml2.**{*;}
  22. -keep class org.xmlpull.**{*;}
  23. -keep class com.google.**{*;}
  24. -keep class org.tantalum.**{*;}
  25. -keep class android.**{*;}
  26. -keep class assets.**{*;}
  27. -keep class com.android.**{*;}
  28. -keep class java.**{*;}
  29. -keep class javax.**{*;}
  30. -keep class junit.**{*;}
  31. -keep class org.**{*;}
  32. -keep class res.**{*;}
  33. -keep public class * extends android.content.ContextWrapper
  34. -keep public class * extends com.odin.framework.foundation.BasePluginActivity
  35. -keep public class * extends com.odin.framework.foundation.BasePluginService
  36. -keep class com.odin.framework{*;}
  37. -keep class com.odin.framework.utils.FileUtil{*;}
  38. -keep class com.odin.framework.utils.StringUtil{*;}
  39. -keep class com.odin.framework.utils.ThreadUtil{*;}
  40. -keep class com.odin.framework.proxy.ProxyManager{*;}
  41. -keep class com.odin.framework.plugable.Logger{*;}
  42. -keep class com.odin.framework.foundation.Framework{*;}
  43. -keep class com.odin.framework.foundation.ExposedService{*;}
  44. -keep class com.odin.framework.foundation.PluginInfo{*;}
  45. -keep class com.odin.plugable.api.**{*;}
  46. -keep class com.sdk.plugable.ability.log.LogImpl{*;}
  47. -keepattributes InnerClasses
  48. #Dynamic R File
  49. -keep class com.huawei.digital.tv.R{*;}
  50. -keep class com.huawei.digital.tv.R$*{*;}
  51. #plugin_in R File
  52. -keep class com.odin_plugin.R{*;}
  53. -keep class com.haochuan.dudutoy.R{*;}
  54. -keep class com.haochuan.dudutoy.R$*{*;}
  55. -keep class com.shuyu.gsyvideoplayer.video.** { *; }
  56. -dontwarn com.shuyu.gsyvideoplayer.video.**
  57. -keep class com.shuyu.gsyvideoplayer.video.base.** { *; }
  58. -dontwarn com.shuyu.gsyvideoplayer.video.base.**
  59. -keep class com.shuyu.gsyvideoplayer.utils.** { *; }
  60. -dontwarn com.shuyu.gsyvideoplayer.utils.**
  61. -keep class tv.danmaku.ijk.** { *; }
  62. -dontwarn tv.danmaku.ijk.**
  63. -keep public class * extends android.view.View{
  64. *** get*();
  65. void set*(***);
  66. public <init>(android.content.Context);
  67. public <init>(android.content.Context, android.util.AttributeSet);
  68. public <init>(android.content.Context, android.util.AttributeSet, int);
  69. }