Configuring SDKs in Eclipse

Apologies for this newby question.

In preparation for installing the 3.1.0 Beta SDK, I inadvertently re-installed the Eclipse CIQ plugin, and now I only have the 3.1.0 SDK in my SDK manager:

I need to be able to return to 3.0.12 to release my app.

Eclipse is still using 3.0.12 because I have not yet taken the "Use as SDK" option on 3.1.0

My question is: how do I get my production 3.0.12 SDK back into the SDK manager. It, and previous SDK's are still in my default Downloads directory.

  • Hello I had this problem too...

    and the only solutions I was given are 

    either you desinstal and reinstall Eclipse

    or you install somewhere else Eclipse.

  • TL;DR uninstall the beta CIQ plugin/SDK manager and reinstall the production CIQ plugin/SDK manager. I just tried it and it works for me.

    No need to mess with your entire Eclipse installation. Although I can see why they recommend using different installations of Eclipse for beta and production CIQ. (I can also see why most ppl don't want to have multiple installations of Eclipse...)

    ---

    Well, you can always bypass the SDK manager and manually change your SDK folder in the Connect IQ settings:

    Preferences > Connect IQ > SDK Root Directory

    In this case it's prolly not a good idea since you have the beta plugin installed, and who knows if there's some difference in the app settings editor or whatever that you need to worry about. And at some point you probably want/need the production CIQ plugin and SDK manager back, like when the beta goes into production. Might not hurt for switching quickly, when you just need to build or test a few things.

    I think the correct way to do this is:

    1) Uninstall beta Connect IQ plugin

    - Help > About Eclipse IDE > Installation Details

    - Uninstall the Connect IQ IDE and SDK Manager

    Restart Eclipse

    2) Reinstall production CIQ plugin:

    - Using the instructions here: https://developer.garmin.com/connect-iq/programmers-guide/getting-started/#theeclipseplug-in

    - Or, if you've already installed the production CIQ plugin in Eclipse (which is likely), just select the existing install source with the following URL:

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

    i.e. Help > Install Software > Work With > (Choose entry with above URL) > Connect IQ

  • I'm running several instances of Eclipse each with their own workspace, at first I was also going back and forth between beta and non-beta plugin but when doing so sooner or later you'll get into issues of not being able to install the non-beta plugin or some strange caching issues happen.

  • Thanks again everybody for the words of wisdom. It all looks as complicated as I feared.

    I think I'll leave the debugging of Garmin code to Garmin. I'm pretty occupied myself with debugging my own code.

    (One of the great things about my brief liaison with Apple was that they owned the whole stack, from the Xcode IDE  all the way up to the the language Swift which operated across the entire platform, from Mac, iPad, iPhone, Apple Watch and Apple TV. It doesn't mean that it all worked though - there were huge gaps in the Watch implementation, and the watch just didn't perform as a sports watch. )