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

Caused by android.os.BadParcelableException Parcelable protocol requires a Parcelable.Creator object called CREATOR on class com.tw.coffinfakecall.dialogs.util.SparseBooleanArrayParcelable com.tw.coffinfakecall.dialogs.core.BaseDialogFragment.resolveTheme #144

Open
Timan86 opened this issue Sep 17, 2020 · 1 comment

Comments

@Timan86
Copy link

Timan86 commented Sep 17, 2020

Caused by android.os.BadParcelableException: Parcelable protocol requires a Parcelable.Creator object called CREATOR on class com.**.dialogs.util.SparseBooleanArrayParcelable
at android.os.Parcel.readParcelableCreator(Parcel.java:2549)
at android.os.Parcel.readParcelable(Parcel.java:2471)
at android.os.Parcel.readValue(Parcel.java:2374)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2727)
at android.os.BaseBundle.unparcel(BaseBundle.java:269)
at android.os.BaseBundle.getBoolean(BaseBundle.java:694)
at com.tw.coffinfakecall.dialogs.core.BaseDialogFragment.resolveTheme(BaseDialogFragment.java:239)
at com.tw.coffinfakecall.dialogs.core.BaseDialogFragment.onCreateDialog(BaseDialogFragment.java:72)
at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:380)
at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java:1412)

@Timan86
Copy link
Author

Timan86 commented Sep 17, 2020

my project use proguard.pro
use below code did not workong in some devices
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
-keepclassmembers class * implements android.os.Parcelable {
public static final ** CREATOR;
}

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

1 participant