I am getting crashes when using the @Preview annotation in IntelliJ and using Duration methods. These have been stabilized in Kotlin 1.6 and my app runs fine when just building. Apparently Compose preview runs on 1.5.30? Does anyone know where I can change that?
d
Dima Avdeev
12/24/2022, 6:35 PM
Maybe you can try to update gradle wrapper version in gradle.properties