When I run the `main [desktop]` config from AS(Jel...
# multiplatform
a
When I run the
main [desktop]
config from AS(Jellyfish | 2023.3.1 Patch 1) then getting this error
Copy code
Could not set process working directory to '/Users/userName/Kmm/AppName/brandNameApp': could not setcwd() (errno 2: No such file or directory)
I downloaded the app from the Jetbrains web template, and renamed the
composeApp
to
brandNameApp
but not able to figure out for desktop at which file this name has been added so that command can successfully launch the app
solved 1
Or is this
composeApp
a convention which is not that easy to change?
p
You can change it but you will need to scratch a couple of configuration files in gradle and Xcode. So it kind of has become a convention.
a
I am able to run the android app and ios app. But not able to figure out where is Desktop config
🤔 1
p
Far from keyboard but check in
build.gradle
under the desktop DSL, the package name and such. What task are you running to launch the desktop App?
a
Thanks, Resolved.. Actually it was saved Gradle configuration from the initial run. I edited the config to point to current Gradle module which is now
AppName/brandNameApp
earlier it was
AppName/composeApp
🔥 1