I downloaded the SDK. But where did the files go?

I'm on MAC. I downloaded Eclipse and also the CIQ SDK manager, which downloaded the SDK.

According to https://developer.garmin.com/connect-iq/connect-iq-basics/getting-started/ in the section "Installing the Eclipse Plug-In" I have to point Eclipse to where the CIQ SDK is. In the dialog shown this is /downloads/connect-iq/eclipse. 

However, that directory doesn't even exist. Having searched with Finder I can't find out where the SDK went. It's certainly somewhere since SDK manager shows it as downloaded (CIQ 4.0.1). But there's not even a way to change the directory in SDK manager?

Anyone with a Mac who could help? Thanks in advance.

  • It's in ~/Library/Application Support/Garmin/ConnectIQ/Sdks/{YOUR_CURRENT_SDK}.

    (~ is your home folder)

    e.g."~/Library/Application Support/Garmin/ConnectIQ/Sdks/connectiq-sdk-mac-3.2.5-2021-02-12-6d31f4357"

    One way to programmatically open the SDK folder is to select Connect IQ > Samples (in Eclipse).

    In VS Code you would have to use CMD-SHIFT-P > Monkey C: View Documentation

    I def think it's a pain that there's no obvious way to directly open / discover the location of the currently installed SDK....

  • However, there *is* a way to programmatically open the current SDK location from the command line.

    In terminal:

    open "$(cat ~/"Library/Application Support/Garmin/ConnectIQ/current-sdk.cfg")"

    Or to just print the location out:

    cat ~/"Library/Application Support/Garmin/ConnectIQ/current-sdk.cfg"

  • Oh but to address your question about setting up CIQ in Eclipse, you actually shouldn't have to point Eclipse to your SDK directory. That should actually work automatically once everything is installed.

    Those instructions are referring to pointing Eclipse to the Connect IQ plugin repository (on the web), so it can download the plugin.

    You should really be adding this URL:

    https://developer.garmin.com/downloads/connect-iq/eclipse/

    I don't think the instructions are very clear on that, although the screenshot kind of suggests the actual procedure (instead of what's written in the text):

    [https://developer.garmin.com/connect-iq/connect-iq-basics/getting-started/#installingtheeclipseplug-in]

  • The directories where things go are fixed based on OS.  Withe the lastest pluging for eclipse you can see where the SDK is.

    In Eclipse, under Window>Preferences>Connect IQ you can see the path.

  • If you read the OP carefully (as I did not initially), they are really asking about the "Add Repository" step in Eclipse, where you have to enter the URL of the Eclipse repo for Connect IQ. The instructions aren't 100% great, so I can understand the confusion. (The text doesn't have the complete URL to be entered in the Add Repository dialog box.)

    Good point about the other way to show the current SDK path. However:

    - Since they don't have the CIQ plugin installed yet, I don't think they can use that method

    - The question is really about installing the CIQ plugin, so they don't even really need to know where the SDK is located (for this purpose)

  • Indeed it is

    ~/Library/Application Support/Garmin/ConnectIQ/Sdks/{YOUR_CURRENT_SDK}

    Bloody thing with Mac: per default ~/Library is not shown in the Finder.

    You can make the Finder show the Library folder by changing the option in View > Show View Options in the menu bar at the top of the screen.

  • Thanks for your post, that was the information I was looking for. Now I have everything up and running!

  • On windows I've downloaded SDK and I couldn't find anything... I do not use eclipse (not sure if this could be the reason) but in my sdk folder I found nothing.
    I don't understand what I'm doing wrong... download SDK, install, everything it's all right, but samples is absolutely missing for me :(

  • On windows I've downloaded SDK

    Please look for something like this

    C:\Users\username\AppData\Roaming\Garmin\ConnectIQ\Sdk2 ...

  • sdks not sdk2.  Also, under connectiq will be devices and fonts.