Kotlin / kotlinx-datetime

KotlinX multiplatform date/time library
Apache License 2.0
2.43k stars 102 forks source link

Not supported on Android 7.0? What are the minimum supported Android and IOS versions? #389

Closed Oyama-Oyama closed 6 months ago

Oyama-Oyama commented 6 months ago

Using it on Android 7.0 will cause a crash

dkhalanskyjb commented 6 months ago

https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#using-in-your-projects includes this instruction:

If you target Android devices running below API 26, you need to use Android Gradle plugin 4.0 or newer and enable core library desugaring.

Does this answer your question?

Oyama-Oyama commented 6 months ago

https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#using-in-your-projects includes this instruction:

If you target Android devices running below API 26, you need to use Android Gradle plugin 4.0 or newer and enable core library desugaring.

Does this answer your question?

thanks! I was too careless