Skip to content

Instantly share code, notes, and snippets.

@sunwicked
Created December 6, 2015 22:03
Show Gist options
  • Save sunwicked/3c3d72a6347fcdf5dcce to your computer and use it in GitHub Desktop.
Save sunwicked/3c3d72a6347fcdf5dcce to your computer and use it in GitHub Desktop.
Progaurd
-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.preference.Preference
-keep public class com.android.vending.billing.IInAppBillingService
-keep public class * extends android.view.View {
public <init>(android.content.Context);
public <init>(android.content.Context, android.util.AttributeSet);
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers class * extends android.content.Context {
public void *(android.view.View);
public void *(android.view.MenuItem);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment