Acknowledged
CIQQA-3531

Issues with Monkey C Language Server in Visual Studio Code for Garmin Development

I am encountering persistent issues while trying to develop with Monkey C in Visual Studio Code for Garmin Connect IQ. Below are the details of the errors and the steps I have taken so far:

  1. Error Messages:

    • "Failed to load SDK supplementary files: null."
    • "Server initialization failed. Message: Pending response rejected since connection got disposed. Code: -32097."
    • "Connection to server got closed. Server will restart."
    • "Monkey C Language Server client: couldn't create connection to server."
    • "Server process exited with code 0."
    • "The Monkey C Language Server crashed 5 times in the last 3 minutes. The server will not be restarted."
  2. Build Error:
    When attempting to build for a device, I receive the following error:

    ERROR: Unable to load devices: null  
    

    The command being executed is:

    C:\Program Files\Java\jre1.8.0_461\bin\java.exe -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar ...  
    
  3. Environment Details:

    • Visual Studio Code with the Monkey C extension installed (version 1.1.2).
    • Garmin Connect IQ SDK Manager is installed and configured.
    • Java JRE 1.8 is installed and added to the system PATH.
  4. Steps Taken:

    • Reinstalled the Monkey C extension.
    • Verified the SDK path in the Connect IQ SDK Manager.
    • Checked the Java installation and ensured it is accessible.
    • Restarted Visual Studio Code multiple times.

Despite these efforts, the errors persist, and I am unable to proceed with development.

Request for Help:
Has anyone encountered similar issues? If so, how did you resolve them? Any guidance or troubleshooting steps would be greatly appreciated.

Parents
  • I've downloaded and reinstalled multiple times. When I run the new project command in VSCode, the devices appear and in the SDK manager, the devices appear to be installed. Could you please send me your SDK files as a rar file or a screenshot of our file directory so I can identify the missing files?

Comment
  • I've downloaded and reinstalled multiple times. When I run the new project command in VSCode, the devices appear and in the SDK manager, the devices appear to be installed. Could you please send me your SDK files as a rar file or a screenshot of our file directory so I can identify the missing files?

Children
No Data