Skip to content

Crash with R8 minification and DateTimeFormat #519

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

Open
prof18 opened this issue Apr 14, 2025 · 1 comment
Open

Crash with R8 minification and DateTimeFormat #519

prof18 opened this issue Apr 14, 2025 · 1 comment

Comments

@prof18
Copy link

prof18 commented Apr 14, 2025

Hi,

I've run into the same issue as mentioned in: #402, while trying to update to new AGP my project (https://github.com/prof18/feed-flow/tree/date-time-r8-issue)

I've build up an easier reproducer, you can find it here: https://github.com/prof18/DateTimeR8IssueRepro.

(I've opened a new issue, as I'm not sure if the old closed one will be noticed)

Thanks!

@prof18
Copy link
Author

prof18 commented Apr 17, 2025

It works by keeping DateTimeComponents

-keep class kotlinx.datetime.format.DateTimeComponents { *; }

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