https://kotlinlang.org logo
Title
s

soderbjorn

04/13/2023, 10:18 PM
In Android Studio, I can run the Compose for iOS template (with Android + iOS modules) just fine (after some help) but if I load the same project into IntelliJ, the iOS run configuration is disabled and uneditable. (The Kotlin Multiplatform Mobile plug-in appears unavailable to install in IntelliJ.) In IntelliJ, I can run an old Compose multi-platform project of mine just fine (with Android + desktop modules), but if i load the same project into Android Studio, the desktop run configuration has no effect at all on my Mac (and I see no logging indicating what the error might be). Is it possible to use either Android Studio or IntelliJ for a single project that has both Android + iOS + desktop modules? Anyway, really awesome work -- thank you JB!
a

Alejandro Rios

04/13/2023, 10:40 PM
Is it possible to use either Android Studio or IntelliJ for a single project that has both Android + iOS + desktop modules?
Android Studio running desktop apps could be a future improvement, but I think that depends more on Google to decide if they made the include (?)
The Kotlin Multiplatform Mobile plug-in in appears unavailable to install in IntelliJ
There's an issue about it
For Desktop in Android Studio you can Just go to
Edit Configurations
and add a
Gradle
one, set
:desktop:run
and it should work, keep in mind, since it's a gradle task the
:desktop
part might be different