https://kotlinlang.org logo
Title
b

Bahaa Kallas

04/10/2021, 4:26 PM
I have created multiplatform compose project using the project wizard but the produced project seems to be not runnable on desktop (It runs on Android). The desktop target has a "runtime exception" when trying to run it using the gradle task "run" of the desktop module Here is the error shown in logs
Process 'command 'C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\jbr\bin\java.exe'' finished with non-zero exit value 1
and a log file is generated inside the module directory which contains some crap which is not quite readable (for me) I have IntelliJ IDEA 2020.3.3 (Ultimate Edition) Build #IU-203.7717.56 installed and I am working on Windows 10 machine Any ideas whether this is a local issue or the project produced by the wizard is not configured correctly Thanks in advance
Update I used the template available on Github and everything is working now https://github.com/JetBrains/compose-jb/blob/master/templates/multiplatform-template
👍 1