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

fix the exception of drawable/ic_notification that causes a crash at startup of the release version #694

Merged
merged 1 commit into from
May 8, 2023

Conversation

j-fbriere
Copy link
Contributor

@j-fbriere j-fbriere commented May 1, 2023

This is to fix the bugs #691, #594 and #575.

When launching the app of the latest released beta version (beta8), the app crashes immediately.

Looking at the logcat output, the relevant part is:

05-01 15:42:49.850  4069  4069 E Icon    : Unable to load resource 0x7f040000 from pkg=com.jonjomckay.fritter
05-01 15:42:49.850  4069  4069 E Icon    : android.content.res.Resources$NotFoundException: Drawable com.jonjomckay.fritter:drawable/ic_notification with resource ID #0x7f040000
...

The ic_notification resource is not found on the release version.

The added keep.xml file helps fix the problem.

Reference: Android Shrink Resources, Resource Not Found.

…n that causes a crash at startup of the release version.
@jonjomckay jonjomckay merged commit 0bac1a2 into jonjomckay:master May 8, 2023
@jonjomckay
Copy link
Owner

Thank you!

This was referenced May 8, 2023
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

Successfully merging this pull request may close these issues.

2 participants