Skip to content Skip to sidebar Skip to footer

Android Proguard & Firebaselistadapter Are Conflicting

good evening, I have spent a couple of hours trying to understand whats going on. This is the situation: Made an app, works fine in debug mode, but release mode gives me errors on

Solution 1:

You can add a directive to make ProGuard preserve the methods and fields of Acties. Just add this to your ProGuard file:

-keep classcom.yourproject.Acties { *; }

where com.yourproject.Acties is the full name (with package) of the Acties class.

Alternatively, you can annotate the Acties class with @Keep, which makes ProGuard leave it unchanged while applying obfuscation/optimizations.

Post a Comment for "Android Proguard & Firebaselistadapter Are Conflicting"