Getting started with VS Code on Windows - how to use simulator

Building a project in VS Code with the plugin, all I get is "No devices available".

I've installed the SDK manager and downloaded the latest SDK alongside the Forerunner 945.

What do I do next?

Some more info:
- The installation is verified.
- I've added my developer key.
- I'm on Windows.

Top Replies

All Replies

  • Have you added the 945 as a target for your project with "MonkeyC:Edit Products"?  Is the API level set to 3.2 or below?

  • When I try Edit Products, the list is empty. The API I have downloaded is 4.0.6 and 4.0.5.
    Presumably I need to somehow link the ADK Manager to the extension?

  • The SDK is 4.0.5 or 6.  The API level is in the manafest.xml file.

  • The only devices that fit that are the venu2 and venu2s.  Change it to 3.2.0 to see the 945.

  • How do i change it? I've tried Edit Application but it says "The current SDK must be set to 4.02 or newer."
    I've tried deleting the project and using New Project but I get the same thing.

    Both of those are after I've downloaded SDK 3.2.1 in the SDK Manager, and made it the current SDK.

    I've also just tried downloading the venu2, switching the SDK back to 4.0.5 and creating a new project. During that, I select the minimum API level as 3.2.0 and then switch the SDK back to 3.2.1. Then I get the same warning. So I switch the SDK back to 4.0.5 and try building again or running and just get No devices available.

    I thought this would be a bit of a fun side project but the tooling and docs are years behind everything I normally use, and so far it's definitely not been fun.

  • Using the 4.0.6 SDK and vs code, when you do "Edit Application, you should see a series of things including App Type and API level.

  • See the extra info I've added to my comment above. Let's just forget it. This is just setting up a sample project and trying to run it in a simulator! God knows what it'll be like later!

  • If you are new, you might want to use eclipse instead of vs code.  It's better documented for CIQ.


  • I thought this would be a bit of a fun side project but the tooling and docs are years behind everything I normally use, and so far it's definitely not been fun.

    I feel your pain. TBH I've found that for Garmin development, the fun is in the end result, and not necessarily the dev process. (Although it can be "fun" trying to squeeze the last bit of memory savings out of an app so it can fit in 16 KB/32 KB of memory -- maybe not fun, but somewhat challenging/rewarding.)

    How do i change it? I've tried Edit Application but it says "The current SDK must be set to 4.02 or newer."

    Yes, with VS Code the current SDK must be 4.0.2 or newer. This doesn't prevent you from setting a lower minimum API level (see below).

    I've also just tried downloading the venu2, switching the SDK back to 4.0.5 and creating a new project. During that, I select the minimum API level as 3.2.0 and then switch the SDK back to 3.2.1. Then I get the same warning. So I switch the SDK back to 4.0.5 and try building again or running and just get No devices available.

    You can use a newer SDK to build apps with an older minimum API level. SDKs are backwards compatible and can build for older devices/API levels. The only disadvantage to using a newer SDK is that sometimes the run-time memory overhead for your apps can be a bit higher, but there's no good way around that if you want to build a single app that supports both old and new devices.

    When I try Edit Products, the list is empty.

    You should see at least Venu 2 and Venu 2S. Have you downloaded the devices in the SDK manager?

    TL;DR:

    • In SDK manager
      • Set SDK to latest (e.g. 4.0.5)
      • Download devices
    • In VS Code:
      • CTRL/CMD-SHIFT-P: "Monkey C: Edit Application" (answer the prompts and set the min API level to 3.2.0)
      • CTRL/CMD-SHIFT-P: "Monkey C: Edit Products" (you should see a ton of products now)