I am using the latest Garmin monkeyc vscode extension. But recently I find it cannot build my project. The prompt is just like above. Is there anyone encountering the similar problem? SDK manager is the latest as well.
I am using the latest Garmin monkeyc vscode extension. But recently I find it cannot build my project. The prompt is just like above. Is there anyone encountering the similar problem? SDK manager is the latest as well.
I created a bug report for this issue. Please upvote if you're seeing this too.
TL;DR If you're having this problem consistently, the workaround is to copy the PRG file over to %TEMP%\GARMIN\APPS manually.
I noticed another wrinkle to this problem when I was making changes to…
for the time being, use a link on the apps folder to your bin\<project>.prg:
C:\WINDOWS\system32>mklink %temp%\GARMIN\APPS\<project>.prg "<project folder>\bin\<project>.prg"…
TL;DR If you're having this problem consistently, the workaround is to copy the PRG file over to %TEMP%\GARMIN\APPS manually.
I noticed another wrinkle to this problem when I was making changes to an app and building it, but every time I ran the app, an older version was used.
I found that the PRG in the simulator's APPS folder (%TEMP%\GARMIN\APPS on Windows) wasn't being updated -- the simulator was using a stale version.
When I deleted the PRG, then the app completely failed to run with the timeout error. Once I copied over the PRG manually, it started working again. Whenever I change and build the app, I have to manually copy it over otherwise the changes won't be reflected in the simulator.
I'm seeing this behavior consistently with a very specific app, but not others.
However, I am also seeing this problem with the older Monkey C VS Code extension (0.1.13), so maybe it's not exactly the same problem.
EDIT: On MacOS, the folder is $TMPDIR/Garmin/APPS
I created a bug report for this issue. Please upvote if you're seeing this too.