Need help installing Visual Studio with SDK 8

Dear all,

Please, please help me.

I am so very frustrated by the Garmin Programming "interface".

I have written several programs, used by several thousand people. Some ask me to add a feature. I know that "program-wise" this is easy, but I also know it will take me weeks to found out how it works with Garmin. Pff.

So I have a new windows 11 laptop. I have a user with administrator rights.

I have installed Java (1.8.0). I have installed Visio Studio Code (1.103.2). I have installed Monkey C in visual studio code. I have downloaded and started the SDK manager.

With all versions of ConnectIQ BELOW 8, for example 7.4.3, I get no error messages, verification of installation of Monkey C checks "ok". BUT, the simulator starts with an empty screen and I can only test/build for old devices (edge 1030).

When selecting ConnectIQ 8.1.0 until 8.2.3, I get several error messages: "Monkey C Language Server client: couldn't create connection to server". And I am completely stuck.

Have searched how to solve this, have reinstalled, but get the same.

So, I can not even start helping people, (again) I am stuck just how to use the bloody (sorry) tools.

Can someone please give me a guideline?

  • So, I was right in the username and I think I found the problem.

    So my windows username is something like "Knot Knütter". It both has a <space> and a diacritic in it.

    I started with the commandline installation and saw what was going wrong. Manually adding the correct path (using quotes around the full path for the sdks) worked.
    Now, when I start an app with the commandline "monkeydo" command, it works flawlessly from the command prompt.

    Happy now, I tried and started VScode, thinking that the now correctly set path would have resolved everything, but no. VScode still comes with the flash screen and then turns grey.

    So, please, anyone can help me a bit in this? How (where) do I correct the path for the sdks ?

  • Great find!

    In the past, others have found that a space in the Windows username breaks CIQ. I think that bug was fixed, but someone also found a bug with Chinese characters in the username (not sure if that was ever fixed).

    I can recreate your problem by creating a user named "Knütter". No spaces required. A username with a space but no diacritic (like "test test") works fine.

    With my "Knütter" test user:

    - The simulator fails in the same way as you described

    - "Monkey C: open samples folder" fails

    How (where) do I correct the path for the sdks ?

    The path for the current SDK is in %appdata%\garmin\connectiq\current-sdk.cfg, but I'm not sure there's anything you can do to work around the problem, other than creating a new user.

    I tried several approaches:

    - creating a junction to the current SDK folder from a path with no diacritics, and changing current_sdk.cfg to point to the new path. This fixed the "open samples folder" problem but not the sim problem

    - copying the SDK folder to a path without diacritics, and changing current_sdk.cfg. Same as above

    - running VS Code from a folder without diacritics. (By default, Code is installed to your userprofile folder). No difference

    - running VS Code from a folder without diacritics *and* running the extension from a folder without diacritics. No difference

    Unless I missed something, I think your only choice is to create a new user profile without diacritics just for CIQ. Either that or use the command line to run apps in the sim.

    Yeah, it sucks. I would fill out a bug report and hopefully Garmin will fix the problem.