New SDK (3.2.3) Eclipse Issue

Ok - When I select the new SDK as my current (and restart Eclipse for it to take effect), the config is broken and I can't run my apps. When I go back to ver 3.2.2 and restart Eclipse it works again. What am I doing wrong?

Note that under "Installed S/W" is still references 3.2.2, if that matters.

  • I removed 3.2.2 and saw the error. I did two things. I reinstalled 3.2.2 (but my CURRENT SDK is still 3.2.3). and I installed the Eclipse Plugin. It then worked for me. Not sure if reinstalling 3.2.2 made any difference. It shouldn't have. But easy to try.

  • Thanks Dave, I tried installing the 3.2.2 sdk in the sdk manager, setting it as the default, then setting 3.2.3 as default, each time restarting eclipse, didn't help. I couldn't see an option to get the 3.2.2 connect iq plugin in eclipse, it has never been installed and is not presented as an option in Help > Install New Software: although I unticked show only the latest versions. Uploaded a picture which shows the situation. It looks like the run configurations part of Eclipse doesn't know where my workspace is, although the main part of Eclipse can find and edit the source files and manifest.xml.

  • In Eclipse, removed the connect iq plugin (called connect iq ide) and the sdk manager (it is still there outside Eclipse), then reinstalling both, didn't help

  • Deleted the eclipse, .eclipse, and .p2 directories from my home folder to uninstall Eclipse and hopefully all its settings, went through the installation process again, still the same problem.

    Cannot build or run any projects.

    The only other thing I can think of to do is to remove the sdk manager and sdk's and reinstall them, but the sdk manager seems to be working fine.

  • Make sure you have the 3.2.3 eclipse plugin, and you not only downloaded the SDK but also the devices with the SDK manager.

  • All is the latest version

  • Just as an experiment, try to go back into SDK Manager and select 3.2.2. Restart Eclipse. and see if it works.

  • The only other thing I can think of to do is to remove the sdk manager and sdk's and reinstall them, but the sdk manager seems to be working fine.

    Two suggestions...

    1. I have previously seen problems with recent versions of Eclipse, specifically versions newer than 2020/03. You might want to try rolling back to 2019/03 or later.
    2. I also seen similar problems with the run configuration dialog if the project manifest references a device that you have not downloaded. You might try using a text editor to cut down the supported device list temporarily to see if that works. You might also try to verify that you have all device configurations downloaded.

    I'm betting on #1.

  • @Michael H: I had exactly the same and found out that you have to update the Eclipse Plugin as well. This is probably what jim_m_58 pointed out to the topic starter. The topic starter reacted with 'the old plugin was the issue'. Unfortunately it does not state what you have to do to update the plugin.

    For this you have to follow the instructions for the installation of the plugin. Eclipse will respond that the plugin is already installed and that it will update instead of install (which is exactly what we want). That is around point 5 or 6.

    Install the Eclipse Plug-in

    1. In Eclipse, click the Help menu
    2. Choose Install New Software...
    3. Click the Add… button
    4. Add developer.garmin.com/.../eclipse to the Location field and click Add
    5. Check the box next to Connect IQ in the Available Software window and click Next
    6. Review the license agreement and click Finish
    7. Once the installation completes, restart Eclipse
  • Thanks for your replies, I have fixed it now. I was having a separate email conversation with ConnectIQ support, I mentioned this, and they suggested:

    "Did you make sure to uninstall the plugin before uninstalling and reinstalling Eclipse? If not, I would try doing that.  I would also try to see if you run into the same problem if you make a completely new workspace and project"

    I tried the second suggestion first because it was much simpler to do, and that fixed it. After I copied the developer key and told Connect IQ where it was, and imported a project from the old workspace, it worked.

    Thanks again for the help in this forum,

    Michael