-keepattributes Signature -keepattributes *Annotation* # Crashlytics -keepattributes SourceFile,LineNumberTable # Keep file names and line numbers. -keep public class * extends java.lang.Exception # Optional: Keep custom exceptions.