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:
-
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."
-
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 ...
-
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.
-
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.