proguard-rules.pro 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. -assumenosideeffects class android.util.Log {
  17. public static boolean isLoggable(java.lang.String,int);
  18. public static int v(...);
  19. public static int i(...);
  20. public static int w(...);
  21. public static int d(...);
  22. public static int e(...);
  23. }
  24. -keepclassmembers class * {
  25. public <init> (org.json.JSONObject);
  26. }
  27. -keepattributes LineNumberTable
  28. #cocos2dx
  29. -keep class org.cocos2dx.** {*;}
  30. -keep class com.enhance.gameservice.** {*;}