Hello,
I’ve been trying to build a simple Connect IQ app for my Garmin Instinct 2X Solar Tactical, but I keep hitting the same error:
No matter which device ID I use (instinct2x
, instinct2x_tactical
, even *_sim
devices), the compiler always fails with the same message.
Here is what I have already tried:
-
Java setup
-
Installed Eclipse Adoptium JDK 11 (
C:\Program Files\Eclipse Adoptium\jdk-11.0.28.6-hotspot\bin\java.exe
). -
Confirmed with
where java
that this is the active Java.
-
-
SDK versions
-
Installed SDK 8.2.3 (latest) → same error.
-
Installed SDK 7.3.1 (2024-09-23) → same error.
-
Made sure
current-sdk.cfg
points to the correct SDK folder.
-
-
Devices
-
Used SDK Manager, selected 7.3.1 as active SDK, and installed device packages (Instinct 2X, All Devices).
-
Verified
devices\instinct2x\...
exists anddevices.xml
is present under the 7.3.1 SDK path. -
Still, compiler always reports “Unable to load devices: null.”
-
-
Tried multiple build commands (CLI)
Example (with private key in DER format):→ always fails with the same error.
-
Tried inside Visual Studio Code with Connect IQ extension
-
Same result: the Monkey C Language Server crashes, and the output shows “Failed to load SDK supplementary files: null” or “Unable to load devices: null.”
- (C:\Program Files\Eclipse Adoptium\jdk-11.0.28.6-hotspot\bin\java.exe -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\xxx\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-7.3.1-2024-09-23-df7b5816a\bin\monkeybrains.jar -o bin\test.prg -f c:\Users\xxx\Desktop\garmin\test\monkey.jungle -y C:\Users\xxx\Documents\garmin\developer_key.der -d instinct2x_sim -w)
-
-
Other attempts
-
Tried with and without the
-u devices.xml
flag. -
Verified key format (DER private key, also tested PEM).
-
Batch scripts to cycle through device IDs → all fail with the same “null” message.
-
At this point, it seems like the SDK can’t read its own device database, even though the files are physically present.
Has anyone else seen this? Is there a known issue with Instinct 2X device profiles in SDK 7.3.1 or 8.2.x? Should I be using a different device ID?
Any help would be appreciated — I’ve spent several days trying every combination, both CLI and Visual Studio Code.
Thanks in advance.