Complete
over 4 years ago

Fixed with 0.1.4.

Visual Studio Code extension - Cannot Run App on MacOS

Hi there!

First of all thanks for the VSC extension, I do not like the heavy weight Eclipse and use VSC for other projects / languages and thus I am glad I will be able to use a single dev environment.

All seems to work just fine except for the Run App.

Initially I had issues with the path of the jar file on my Mac that was failing because of the space in it: -jar /Users/tku/Library/Application Support/Garmin/ConnectIQ/Sdks/connectiq-sdk-mac-3.2.3-2020-10-13-c14e609bd/bin/monkeybrains.jar. I had upgraded my java and it has gone away.

The build output could be more verbose (not a P1 issue though) ... currently it does not say anything when successful, just the java statement and then: Terminal will be reused by tasks, press any key to close it.

But, if I do Run App, I get nothing ... no output in terminal, output, debug console, just nothing. And nothing starts either.

Any ideas? Thanks in advance!

  • Now i can run VS on High Sierra and even simulator works but i can not build

  • This should be addressed in 0.1.4 with some modification to an SDK file. The next SDK release should prevent having to modify the SDK file. See the announcement post for details.

  • Sorry for not stating in the last post.

    Yes, I ran it multiple times. When VSC is fresh started, then the first run even prompts me for a device. It starts the simulator window but there is no device in it (just blank white screen). Then I tried the second time. Nothing happened. Tried many more times with the same result.

    If I close the simulator window and run app again, it will not prompt for the device anymore and still does the same as above - blank white screen screen. Subsequent runs have no effect. :/

    Would love to help with some stack trace or debug log but there is nothing in the consoles / terminal.

  • Did you run the command a second time after the simulator opened? It's currently a known issue that it doesn't work sometimes with the initial run of the command.

  • Trying the 0.1.2 - it opens the simulator. But the simulator is empty - meaning no device model is displayed, it is just a blank (white) window.

    How to specify which device I want to run it in? I have fr935 and fr945 in my manifest.

    Tried to remove one and run it, so it would have just one to pick from but nothing changed.

    I guess I am missing something but do not know what. :/