-
Notifications
You must be signed in to change notification settings - Fork 102
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
Missing classes detected while running R8 / Proguard #297
Comments
The current |
@matejbart Not sure it would help. |
I have updated to |
I have updated to
|
As workaround, I've added I think that proguard rules from Maybe some or all rules from |
The workaround helped because the classes that R8 reported as missing are now found in the |
This permits using kotlinx-datetime without kotlinx-serialization on Android without complaints from the build tooling. Fixes #297
This permits using kotlinx-datetime without kotlinx-serialization on Android without complaints from the build tooling. Fixes #297
This permits using kotlinx-datetime without kotlinx-serialization on Android without complaints from the build tooling. Fixes #297
The same error occurred for my case when referencing a AAR built from a KMM library that uses datetime.
|
Attempting to obfuscate and shrink any android app that uses
Instant
results in the following errorsThe file mentioned contains:
To Reproduce
Minimal sample
See this github project: https://github.com/MarcelReiter/dateTimeTest
You NEED to build it in release mode.
Also i made nice small commits so it's understandable what i'm doing
Environment
A nearly identical issue has been created by someone else in the
kotlinx.serialization
github:Kotlin/kotlinx.serialization#2392 - but it seems like it is
kotlinx.datetime
relatedThe text was updated successfully, but these errors were encountered: