ActiveAndroid icon indicating copy to clipboard operation
ActiveAndroid copied to clipboard

Multiple crash when using proguard

Open ROMDEMBELE opened this issue 6 years ago • 1 comments

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

ROMDEMBELE avatar Oct 23 '19 12:10 ROMDEMBELE

Entity class you created cannot be confused -keep class your db.{;}

WardTN avatar Jul 30 '20 09:07 WardTN