https://kotlinlang.org logo
#fleet
Title
# fleet
j

Jan

11/13/2023, 9:26 AM
Hi, I have a question regarding fleet & run configurations. More in Thread:
I have an existing kotlin multiplatform project, but its structure differs from the structure of the kmp-wizard (https://kmp.jetbrains.com). So basicalle within my root I have a folder iosApp and a folder with androidApp. Unfortunately my RUN & DEBUG dialog only show iosApp. How can I run my androidApp?
image.png
z

zsmb

11/13/2023, 10:46 AM
If you could create a minimal project that shows the missing sample project and file it in an issue here, that'd be super useful: https://youtrack.jetbrains.com/newIssue?project=FL
In the meantime, to fix the problem, have you tried creating a new run configuration manually (it's the option in the popup just below the one selected on your screenshot)? You should be able to select the module and device you want to use to run the Android app there.
j

Jan

11/13/2023, 11:02 AM
Unfortunately the module for androidApp is not listed there ... only the submodule within androidApp
I'll compare it with the wizard module ...
hm ... not sure what I have to add for my run configuration:
image.png
what does "module" mean?
hm I fixed it, after adjusting my gradle files
previously this compose-mutiplatform-ios-android-template was the one I used some time ago: https://github.com/JetBrains/compose-multiplatform-ios-android-template
I adjusted all my gradle.build.kts files according to this template and now it seems to work again
z

zsmb

11/13/2023, 12:15 PM
Glad you got it sorted out! Indeed the template's run configs are picked up by Fleet. If you can describe your "broken" project configuration in detail or share a sample that demonstrates it, again, it would be really useful to have an issue for that on YouTrack.
j

Jan

11/13/2023, 12:58 PM
ok, let mee see if I can figure something out ... will let you know
👍 2
2 Views