Every time I Export Signed Application from eclipse and install the apk file onto my phone, the app would crash. This only happens with Proguard enabled.
Here is my
I finally solved it. This is what I forgot to add to my Proguard file. The getters and setters.
-keep public class com.example.YourModelClassName {
public *** get*();
public void set*(***);
}
Just add -keep class com.firebase.**{ *; }
in your proguard-rules.pro file.
I would venture to guess something in your app is using Java reflection to instantiate a class.
It appears whatever class this is has been name-mangled by proguard.
You'll have to figure out which one and add an exception rule for it.
You can make use of the mapping file proguard creates to figure out which class and method is being used in the exception. The file is located in build/outputs/proguard/release/mapping.txt