ActiveAndroid
ActiveAndroid copied to clipboard
Multiple crash when using proguard
I had a couple of error with proguard, the Column name and parameters like onUniqueConflict are "deleted" by proguard so the application crash when it released I added :
-keep class com.activeandroid.** { *; } -keep class com.activeandroid.. { *; } -keep class * extends com.activeandroid.Model -keep class * extends com.activeandroid.serializer.TypeSerializer
And the class of my Database who's extend model but that was ineffective
Entity class you created cannot be confused -keep class your db.{;}