Under Review
over 1 year ago

Ticket resolved with 4.0.7

Run App fails with timeout

Running an app often fails with the following error message:

"Failed to launch the app: Timeout"

The workaround is to try again a couple of times until it works.

Environment:

  • Visual Studio Code
  • Windows 11
  • Monkey C plugin 1.0.0

In some cases (for specific apps), Run App fails consistently, and the only workaround is to copy over the PRG file manually. This specific case was seen with Monkey C plugin v0.1.13, as well.

See thread:

https://forums.garmin.com/developer/connect-iq/f/discussion/276200/vscode-extension-failed-to-launch-the-app-timeout

Parents
  • Yes, from is the bin directory - you have to do it every time. Or create a link as suggested by @ in the other thread.

    In my case, now I've removed spaces from the path to my bin directory it all works automatically. i.e. Build Current Project followed by Run (with or without debugging) and the simulator runs the correct version of the app.

    I've found a bit of a steep learning curve with VSCode but then again there was with Eclipse to start with as well! It's good now I'm getting used to it.

Comment
  • Yes, from is the bin directory - you have to do it every time. Or create a link as suggested by @ in the other thread.

    In my case, now I've removed spaces from the path to my bin directory it all works automatically. i.e. Build Current Project followed by Run (with or without debugging) and the simulator runs the correct version of the app.

    I've found a bit of a steep learning curve with VSCode but then again there was with Eclipse to start with as well! It's good now I'm getting used to it.

Children
No Data