Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple crash when using proguard #566

Open
ROMDEMBELE opened this issue Oct 23, 2019 · 1 comment
Open

Multiple crash when using proguard #566

ROMDEMBELE opened this issue Oct 23, 2019 · 1 comment

Comments

@ROMDEMBELE
Copy link

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

@WardTN
Copy link

WardTN commented Jul 30, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants