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

Thomas Hormes

11/18/2023, 2:34 PM
When I create a project with kmp.jetbrains.com/ , how do I create a run configuration for Android? Fleet doesn't seem to pick up any run configurations, as when I open the run Menu it doesn't show any configurations by default. I can get the Desktop and the Server part running by using the gutter Icon, and I can create a custom run configuration in
run.json
, but I can't seem to find any examples of what to put for the
module
and
destination
attributes.
m

Maciej Procyk

11/18/2023, 2:37 PM
Fleet should generate run configuration for Android automatically as well. Do you have Android SDK installed? Is it configured in your
local.properties
file that is in the root of the project under
sdk.dir
? The possible values in
run.json
should be autocompleted for you, if the project is configured properly.
j

Jeff Lockhart

11/18/2023, 3:11 PM
Try re-importing the project. This fixed this for me. I've seen some others report the run configuration isn't always automatically created as well.
t

Thomas Hormes

11/20/2023, 6:00 AM
Unfortunately it still doesn't autocomplete module and destination for me. I've set my Android SDK the same way Android Studio does, but no autocomplete. Does it matter that I've configured my Android SDK Home Directory to a different path?
I still can't get Fleet to autocomplete these properties for me although I've set the sdk.dir. Are there any other things I can try?
m

Maciej Procyk

11/21/2023, 12:11 PM
Please create an issue in our tracker, put your current description and attach logs from your fleet instance. You can collect them from top-bar menu
Help -> Diagnostic tools -> Collect logs
. This way we could diagnose more precisely what happens on your machine 🤞🏻
3 Views