view raw
FVod FVod - 7 months ago 69
Android Question

Proguard with Crashlytics

We have added in our android application, and we are using

. So, as the
documentation says, we have added the following code in our
configuration file:

-keep class com.crashlytics.** { *; }
-keep class**
-keepattributes SourceFile,LineNumberTable *Annotation*

Unfortunately, when we sign the APK, we get the following error: proguard.ParseException: Unknown option '*Annotation*'

What are we doing wrong?

Thanks in advance


Try This ProGuard rules

# Crashlytics
-keep class com.crashlytics.** { *; }
-dontwarn com.crashlytics.**
-keepattributes SourceFile,LineNumberTable,*Annotation*
-keep class**

And please make sure that ,s are in place.