Complete

Connect IQ SDK 7.4.3 Export duplicate entry error for Instinct 3

I have added the 6 new Instinct 3 and E models to my app.  When I try to build using Export Project I get:

ERROR: duplicate entry: 006-B4585-00/dynamic.prg

This only appears to happen when I have both of these in the manifest:

<iq:product id="instinct3solar"/>
<iq:product id="instinct3solar45mm"/>

If I remove one or the other the app exports ok.

Is there perhaps an incorrect string in the SDK definitions of one of these two new devices?

  • @richard.connectiq posted a relevant comment in another bug report:

    "The instinct3solar45mm device config folder was briefly named instinct3solar and then later updated. Having both would have duplicate part numbers and cause build errors. At the moment the SDK manager doesn't have a process for automatically deleting devices that are no longer relevant. This was intentional in the case that someone wanted to continue developing with an old preview device. A way to improve this is being explored."

    forums.garmin.com/.../bug-edge-1040---ciq-4

  • > in the app store it does show it as being compatible with both "Instinct® 3 – 45 mm, Solar" and "Instinct® 3 – 50 mm, Solar" so it appears that all is well.

    Btw, if you're interested in knowing how the part numbers in compiler.json map to various devices in the store (since it isn't always apparent from compiler.json itself), you can look at the output of deviceTypes API request that's loaded whenever you click on the Devices tab for an app in the CIQ store website.

    https://apps.garmin.com/api/appsLibraryExternalServices/api/asw/deviceTypes

    006-B4585-00 => "Instinct® 3 – 45 mm, Solar"

    006-B4759-00 => "Instinct® 3 – 50 mm, Solar"

  • Yes maybe it relates to an incorrect device being added to the SDK and/or appearing in the list of available devices in the VS Code Manifest Editor.  I uploaded my updated app to the App Store without the "instinct3solar" entry in the manifest, and in the app store it does show it as being compatible with both "Instinct® 3 – 45 mm, Solar" and "Instinct® 3 – 50 mm, Solar" so it appears that all is well.

    Thanks for the reply @FlowState

  • (Yeah, instinct3solar45mm is a strange naming convention for a device whose displayName is "Instinct® 3 Solar 45mm / 50mm".)

  • I don't have an instinct3solar device in my CIQ "device library", only instinct3solar45mm.

    The SDK manager's device list doesn't seem to indicate a separate "instinct 3 solar" device, either:

    I only see 5 instinct 3/E devices.

    Is it possible that instinct3solar was released as a CIQ device by accident at some point?

    If you compare the instinct3solar and instinct3solar45mm folders, what are the differences, if any?

    Maybe it would be best to just move the instinct3solar folder away?