Closed ShirasawaSama closed 1 month ago
@ShirasawaSama I was not able to reproduce the issue. How do you configure target bytecode level/JDK in your Gradle scripts?
I got the same error - using the generated project from the KMP Wizard. When I updated all the jvm targets and toolchains to anything above Java Version 17, I'd encounter the similar errors with @Preview
on desktop. Android previews do work however.
Setting the Java Version to 17 does allow desktop previews to work.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Versions
Error