Created
December 8, 2014 04:50
-
-
Save xxnjdlys/ce7c1806ed3bb6ab280d to your computer and use it in GitHub Desktop.
test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add project specific ProGuard rules here. | |
# By default, the flags in this file are appended to flags specified | |
# in C:/Users/zhangpe/AppData/Local/Android/android-studio/sdk/tools/proguard/proguard-android.txt | |
# You can edit the include path and order by changing the ProGuard | |
# include property in project.properties. | |
# | |
# 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 *; | |
#} | |
############# UM Share ################ | |
-dontshrink | |
-dontoptimize | |
-dontwarn com.google.android.maps.** | |
-dontwarn android.webkit.WebView | |
-dontwarn com.umeng.** | |
-dontwarn com.tencent.weibo.sdk.** | |
-dontwarn com.facebook.** | |
-dontwarn com.squareup.*.** | |
-libraryjars libs/SocialSDK_QQZone_1.jar | |
-libraryjars libs/SocialSDK_QQZone_2.jar | |
-libraryjars libs/SocialSDK_QQZone_3.jar | |
-keep enum com.facebook.** | |
-keepattributes Exceptions,InnerClasses,Signature | |
-keepattributes *Annotation* | |
-keepattributes SourceFile,LineNumberTable | |
-keep public interface com.facebook.** | |
-keep public interface com.tencent.** | |
-keep public interface com.umeng.socialize.** | |
-keep public interface com.umeng.socialize.sensor.** | |
-keep public interface com.umeng.scrshot.** | |
-keep public class com.umeng.socialize.* {*;} | |
-keep public class javax.** | |
-keep public class android.webkit.** | |
-keep class com.facebook.** | |
-keep class com.umeng.scrshot.** | |
-keep public class com.tencent.** {*;} | |
-keep class com.umeng.socialize.sensor.** | |
-keep class com.tencent.mm.sdk.openapi.WXMediaMessage {*;} | |
-keep class com.tencent.mm.sdk.openapi.** implements com.tencent.mm.sdk.openapi.WXMediaMessage$IMediaObject {*;} | |
-keep class im.yixin.sdk.api.YXMessage {*;} | |
-keep class im.yixin.sdk.api.** implements im.yixin.sdk.api.YXMessage$YXMessageData{*;} | |
####---------------iflytek Voice Recongintion---------------------------# | |
-keep class com.iflytek.**{*;} | |
-keep class assest.iflytek.**{*;} | |
####---------------Hisense Control Protocol---------------------------# | |
-keep class com.hisense.hs_demo_control.**{*;} | |
############# UM Share ################ | |
-keepclassmembers class * { | |
@android.webkit.JavascriptInterface <methods>; | |
} | |
-keep public class com.wukongtv.wkremote.client.AppManager.InstallWebViewFragment$JSInterface | |
-keep public class * implements com.wukongtv.wkremote.client.AppManager.InstallWebViewFragment$JSInterface{ | |
<methods>; | |
} | |
-keep public class com.wukongtv.wkremote.client.R$*{ | |
public static final int *; | |
} | |
-keepclassmembers class * { | |
public <init>(org.json.JSONObject); | |
} | |
-keep public class com.umeng.fb.ui.ThreadView { | |
} | |
-keep class android.support.v4.** { *; } | |
-keep interface android.support.v4.app.** { *; } | |
-keep class android.support.v7.** { *; } | |
-keep interface android.support.v7.app.** { *; } | |
##---------------Begin: proguard configuration for Gson ---------- | |
# Gson uses generic type information stored in a class file when working with fields. Proguard | |
# removes such information by default, so configure it to keep all of it. | |
-keepattributes Signature | |
# For using GSON @Expose annotation | |
-keepattributes *Annotation* | |
# Gson specific classes | |
-keep class sun.misc.Unsafe { *; } | |
#-keep class com.google.gson.stream.** { *; } | |
# Application classes that will be serialized/deserialized over Gson | |
-keep class com.wukongtv.wkremote.client.AppManager.LiveTVTabFragment$TVGroup{ *; } | |
-keep class com.wukongtv.wkremote.client.AppManager.LiveTVTabFragment$TVChannel { *; } | |
-keep class com.wukongtv.wkremote.client.appstore.AppStoreClassify$AppStoreClassifyItemModel { *; } | |
##---------------End: proguard configuration for Gson ---------- | |
## eliminate Log.v and Log.d | |
-assumenosideeffects class android.util.Log { | |
public static *** d(...); | |
public static *** v(...); | |
} | |
##----------------Begin: proguard configuration for otto ------------------- | |
-keepclassmembers class ** { | |
@com.squareup.otto.Subscribe public *; | |
@com.squareup.otto.Produce public *; | |
} | |
##----------------End: proguard configuration for otto --------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment