-ignorewarnings
Don't use it - there's a better solution, ignoring only the problematic parts:
-dontwarn com.adwhirl.adapters.*
Here's the best solution for Proguard & AdWhirl as far as I know:
-dontwarn com.adwhirl.adapters.*
-keep class com.adwhirl.** { *;}
-keep public class com.adwhirl.adapters.AdMobAdapter {*;}
-keep public class com.adwhirl.adapters.ZestAdzAdapter {*;}
-keep public class com.adwhirl.adapters.MillennialAdapter {*;}
-keep public class com.admob.android.ads.** {*;}
-keep public class com.millennialmedia.android.** {*;}
-keep public class com.zestadz.android.** {*;}
-keep public class * extends Android.view.View {
public
public
public
public void set*(...);
}
-keepclassmembers class *{
public void *(android.view.View);
}
3 comments:
Thanks so much! That was exactly what I needed and saved me from wading through the ProGuard docs.
-Rich
Same trick worked for tapjoy
-dontwarn com.tapjoy.*
Thanks for posting!
Great post, thank you!
Post a Comment