-
Notifications
You must be signed in to change notification settings - Fork 49
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
InflateException Resources$NotFoundException #119
Comments
Hi, thanks for reporting. Here is the relevant class from this library: https://github.com/consp1racy/android-support-preference/blob/2.x/support-preference/src/main/java/net/xpece/android/support/widget/AspSwitchCompat.java The class doesn't work with resources at all, everything is handled by the underlying AndroidX implmentation. Here are some SO questions that may be related: I will remove |
Thought so, thanks! There is no branch currently in which the dependency on |
It's a waste of time, but I think it's gone in 3.x already. In any case you can copy the switch preference layout to your project and it will override the file provided by this library. In xml replace AspSwitchCompat with SwitchCompat. What versions of Android did this happen on? |
Ah okay great, I'll try with 3.x then. This happens on all versions I think, but I'm seeing mostly 9 and 8 since that is what of my users have. |
Version:
2.3.2
Support preference Version:
AndroidX 1.1.0-alpha04
I get the following crash ocassionally reported by users and the play store console:
This may be caused by an Android bug, backups or users sharing split APKs from what I read on stackoverflow, but thought I let you know, since it might be related to the library. It always happens in the settings screen and nowhere else in my app.
Thanks for looking into it!
The text was updated successfully, but these errors were encountered: