I am trying use kotlinx datetime and I am getting this error. I tried installing and upgrading kotlin still no fix.
"This declaration is only available in Kotlin 2.1 and newer versions and cannot be used with the specified API version 2.0."
j
John O'Reilly
09/11/2025, 8:33 AM
do you have anything like following in your build file?