proguard-rules.pro 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in /Users/liaoxiang/adt-bundle-mac-x86_64-20140702/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. -dontshrink
  17. -dontoptimize
  18. -dontwarn com.google.android.maps.**
  19. -dontwarn android.webkit.WebView
  20. -dontwarn com.umeng.**
  21. -dontwarn com.tencent.weibo.sdk.**
  22. -dontwarn com.facebook.**
  23. -keep public class javax.**
  24. -keep public class android.webkit.**
  25. -dontwarn android.support.v4.**
  26. -keep enum com.facebook.**
  27. -keepattributes Exceptions,InnerClasses,Signature
  28. -keepattributes *Annotation*
  29. -keepattributes SourceFile,LineNumberTable
  30. -keep public interface com.facebook.**
  31. -keep public interface com.tencent.**
  32. -keep public interface com.umeng.socialize.**
  33. -keep public interface com.umeng.socialize.sensor.**
  34. -keep public interface com.umeng.scrshot.**
  35. -keep public class com.umeng.socialize.* {*;}
  36. -keep class com.facebook.**
  37. -keep class com.facebook.** { *; }
  38. -keep class com.umeng.scrshot.**
  39. -keep public class com.tencent.** {*;}
  40. -keep class com.umeng.socialize.sensor.**
  41. -keep class com.umeng.socialize.handler.**
  42. -keep class com.umeng.socialize.handler.*
  43. -keep class com.tencent.mm.sdk.modelmsg.WXMediaMessage {*;}
  44. -keep class com.tencent.mm.sdk.modelmsg.** implements com.tencent.mm.sdk.modelmsg.WXMediaMessage$IMediaObject {*;}
  45. -keep class im.yixin.sdk.api.YXMessage {*;}
  46. -keep class im.yixin.sdk.api.** implements im.yixin.sdk.api.YXMessage$YXMessageData{*;}
  47. -dontwarn twitter4j.**
  48. -keep class twitter4j.** { *; }
  49. -keep class com.tencent.** {*;}
  50. -dontwarn com.tencent.**
  51. -keep public class com.umeng.soexample.R$*{
  52. public static final int *;
  53. }
  54. -keep public class com.umeng.soexample.R$*{
  55. public static final int *;
  56. }
  57. -keep class com.tencent.open.TDialog$*
  58. -keep class com.tencent.open.TDialog$* {*;}
  59. -keep class com.tencent.open.PKDialog
  60. -keep class com.tencent.open.PKDialog {*;}
  61. -keep class com.tencent.open.PKDialog$*
  62. -keep class com.tencent.open.PKDialog$* {*;}
  63. -keep class com.sina.** {*;}
  64. -dontwarn com.sina.**
  65. -keep class com.alipay.share.sdk.** {
  66. *;
  67. }
  68. -keepnames class * implements android.os.Parcelable {
  69. public static final ** CREATOR;
  70. }
  71. -keep class com.linkedin.** { *; }
  72. -keepattributes Signature