Skip to content

java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/ZoneOffset; #525

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

Closed
LSafer opened this issue May 2, 2025 · 1 comment
Closed

Comments

@LSafer
Copy link

LSafer commented May 2, 2025

When running an app in Android API level 24 (JVM 8). The following exception is thrown when trying this code:

TimeZone.currentSystemDefault()
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/time/ZoneOffset;
   at kotlinx.datetime.UtcOffset.<clinit>(UtcOffsetJvm.kt:25)
   at kotlinx.datetime.TimeZone.<clinit>(TimeZoneJvm.kt:35)
@LSafer
Copy link
Author

LSafer commented May 2, 2025

Oh, nevermind.

#48

@LSafer LSafer closed this as completed May 2, 2025
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