Open cypressious opened 2 months ago
If you're running from the gutter icon in IntelliJ, could be https://github.com/JetBrains/compose-multiplatform/issues/3123
Yes. Running with Gradle gives me
Execution failed for task ':composeApp:desktopRun'. No main class specified and classpath is not an executable jar.
What's the recommended way to run it?
It's ./gradlew :composeApp:run
, which is the task created by the Compose Multiplatform plugin for desktop.
desktopRun
not working is tracked here: https://youtrack.jetbrains.com/issue/CMP-5893/desktopRun-jvmRun-cant-be-used-to-run-Compose-Desktop-project
I've cloned the repo and run the
main()
function indesktopMain
. After successfully building, the app crashes with the following exception at runtime: