Error When Running My First Garmin Connect IQ App

Hi everyone,

I'm trying to run my first Garmin Connect IQ application by following the steps outlined in this guide, but I keep encountering an error. Here’s what I’ve tried so far:

  1. Reinstalled the Connect IQ SDK.
  2. Reinstalled the Garmin Instinct 2 device profile.
  3. I disabled my antivirus program.
  4. Updated Java to the latest version.

Despite these steps, the issue persists. Has anyone encountered this before, or does anyone know what could be causing the problem?

Thank you in advance for your help!

File layout:

Console Error:

Executing task: monkeyc: Building For Device

java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\Caglar\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-7.3.1-2024-09-23-df7b5816a\bin\monkeybrains.jar -o bin\firstapp.prg -f c:\Users\Caglar\garmin app\firstapp\monkey.jungle -y c:\Users\Caglar\garmin app\firstapp\developer_key -d instinct2_sim -w

ERROR: Unable to load devices: null

  • This doesn't explain the specific error you are seeing, but your monkey.jungle file doesn't look right to me. All of those properties that you specified in monkey.jungle can't actually be specified there, they're supposed to be specified in manifest.xml. If I tried to build with a jungle file such as yours, I get several errors, including this:

    ERROR: A valid 'project.manifest' property was not defined within a jungle file.

    The rest of the errors are in this screenshot because the forum is preventing certain types of posts rn: https://postimg.cc/nMDT3kHS

    This is unsurprising to me, because app is not a valid jungle qualifier. See: developer.garmin.com/.../. As for the private_key and device lines, they don't do anything except define local variables which have no effect unless they are referenced elsewhere in the jungle.

    Your monkey.jungle file should look like this:

    project.manifest = manifest.xml

    What does your manifest.xml file look like?

    Reinstalled the Garmin Instinct 2 device profile.

    Have you tried installing all the devices via the SDK manager? Again, only having one device or even no devices wouldn't explain the problem you are seeing, but in general there shouldn't be a problem with installing all the devices, unless your computer is severely low on disk space.