Help! All my devices have disappeared

I've just opened up Eclipse to do a quick test of my app - everything was working last time I used it - and now suddenly when I go to Run Configurations there are no devices listed, so I can't build or run anything at all!

Looking in the SDK manager, everything there looks ok and I have all devices downloaded.

Any idea what could be going wrong? And how I can fix it?

  • Same here.... I uninstalled eclipse and connect iq...  Did the full install again and still getting this error.  I'm on Mac OS

  • Do you have the 3.2.3 plugin installed, or still 3.2.2?  3.2.2 seemed to work until you restarted eclipse.

  • Aha thanks - I had 3.2.2! Updating to 3.2.3 for the IDE & SDK manager plugins seems to fix things again. And it still works when reopening Eclipse Slight smile

  • And ... this is happening again Disappointed

    I've updated the IDE and SDK manager to 4.0.4 (the latest ones) and still no joy.

    When I try to edit Run Configurations I see the following message: An error has occurred: java.lang.NullPointerException

    Trying to open up a manifest.xml file it says something about unsupported content too. Plus I see an error saying invalid device ID: vivoactive4. And it won't let me save the file ...

    I haven't tried to build this project for 6-8 months but it all worked fine before - it was using SDK 3.2.5

    If anyone can tell me what to do to fix this, I will be grateful! Slight smile

  • open up the manifest.xml with something outside eclipse like Notepad and look at the target devices and make sure you don't have anything like the "upcoming" devices froma few months back.  If you do, delete those.

    Then try creating a new run config in eclipse.

    Also, the current SDK is 4.0.3 while the current eclipse plugin is 4.0.4.

  • Thanks Jim, that works, just about Slight smile

    I still see this message which is worrying, when I open the manifest:

    And not sure why the Vivoactive 4 has been removed as an option? It's no longer listed in the manifest file, and no longer shows up on the Compatible Devices page. But the Vivo 4S is there ...
    I'll have to try switching to the Visual Studio version at some point.
  • hi, did you update the devices with the SDK manager?

  • Thanks  - that comment was useful!

    So I checked in the SDK manager, and yes all my devices were up to date. Indeed the Vivo 4 was listed there too:

    But assuming from your suggestion that entries in the run configuration and manifest come from this device list ... I tried deleting the vivoactive 4 files in the SDK manager and redownloaded them. And now Vivoactive 4 is available in the manifest and also in the run configuration menu Slight smile

    So it seems like something must have got out of sync.

    I never would have noticed if I didn't already know that the Vivoactive 4 was an existing watch!

  • I've found that when you get new devices, it's best to restart both the sim and Eclipse as otherwise one or the other can be in kind of an odd state.