You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used parceler version '1.1.6' with proguard enabled. I have these proguard rules in my 'proguard-rules.pro' : -keep interface org.parceler.Parcel -keep @org.parceler.Parcel class * { *; } -keep class **$$Parcelable { *; }
When I build the apk using terminal (or happen too with my Bitrise CI), the terminal output full of Note: the configuration keeps the entry point 'someClass$$Parcelable { void write(someClass,android.os.Parcel,int,org.parceler.IdentityCollection); }', but not the descriptor class 'org.parceler.IdentityCollection'" logs. someClass represents class in my project that implement parceler.
This log cause a problem in my CI, since the log file becomes too big(2.2 MB), and cause the build to fail. I have to add another proguard rules "-keep class org.parceler.IdentityCollection", to make this notes disappear.
My question is, what is this IdentityCollection? and will it cause a problem if I keep the IdentityCollection class?
The text was updated successfully, but these errors were encountered:
IdentityCollection is used to compare and determine uniqueness in a graph of objects during deserialization. Adding the proguard rule you mentioned is a good idea.
I used parceler version '1.1.6' with proguard enabled. I have these proguard rules in my 'proguard-rules.pro' :
-keep interface org.parceler.Parcel -keep @org.parceler.Parcel class * { *; } -keep class **$$Parcelable { *; }
When I build the apk using terminal (or happen too with my Bitrise CI), the terminal output full of
Note: the configuration keeps the entry point 'someClass$$Parcelable { void write(someClass,android.os.Parcel,int,org.parceler.IdentityCollection); }', but not the descriptor class 'org.parceler.IdentityCollection'"
logs. someClass represents class in my project that implement parceler.This log cause a problem in my CI, since the log file becomes too big(2.2 MB), and cause the build to fail. I have to add another proguard rules "-keep class org.parceler.IdentityCollection", to make this notes disappear.
My question is, what is this IdentityCollection? and will it cause a problem if I keep the IdentityCollection class?
The text was updated successfully, but these errors were encountered: