proguard file for adsmogo

#The below is used for AdsMOGO_Android_SDK_1.5.4 settings
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-verbose
-ignorewarnings
-dontwarn 
-libraryjars libs/AdsMOGO_Android_SDK_1.5.4.jar
-keep public class com.adsmogo.** {*;} 
-keep public class android.admore.mobile.lite.** {*;} 
-keep public class android.admore.mobile.lite.inner.** {*;} 


#for support v4 libraryjars
-libraryjars   libs/android-support-v4.jar 
-dontwarn android.support.v4.** 
-keep class android.support.v4.** { *; }
-keep public class * extends android.support.v4.**
-keep class android.support.** { *; }
-keep interface android.support.v4.app.** { *; }
-keep public class * extends android.app.Fragment
  
# for baidu ad sdk 
-keep class com.baidu.mobads.** {
  public protected *;
}




# for adchina ad sdk 


-keeppackagenames  com.adchina.android 
-keep class com.adchina.android.** { *; }  
-keeppackagenames com.adchina.android.ads
-keeppackagenames com.adchina.android.ads.controllers
-keeppackagenames com.adchina.android.ads.views
-keeppackagenames com.adchina.android.ads.animations
-keep class com.adchina.android.ads.*{*;}
-keep class com.adchina.android.ads.controllers.*{*;}
-keep class com.adchina.android.ads.views.*{*;}
-keep class com.adchina.android.ads.animations.*{*;}


# for GDT ad sdk 
-dontwarn com.qq.e
-dontwarn com.tencent.gdt
-keeppackagenames  com.qq.e
-keeppackagenames com.tencent.gdt
-keep class com.qq.e.** {
public protected *;
}
-keep class com.tencent.gdt.**{
public protected *;
}


# for DOMOB ad sdk 


-keep class cn.domob.** { *; }




#for umeng SDK 
-keep public class * extends com.umeng.**
-keep class com.umeng.** { *; }




-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*


-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService


-keepclasseswithmembernames class * {
    native <methods>;
}


-keepclasseswithmembernames class * {
    public <init>(android.content.Context, android.util.AttributeSet);
}


-keepclasseswithmembernames class * {
    public <init>(android.content.Context, android.util.AttributeSet, int);
}


-keepclassmembers enum * {
    public static **[] values();
    public static ** valueOf(java.lang.String);
}


-keep class * implements android.os.Parcelable {
  public static final android.os.Parcelable$Creator *;
}

你可能感兴趣的:(proguard file for adsmogo)