I have issues with getting my glance to run with Fenix 6 on SDK 8.1.x.
On SDK 7.4.3 everything works as it should, code builds and glance is shown.
On SDK 8.1.0, I get the following error when building:
* Executing task: monkeyc: Building For Device
java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\Robert\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-8.1.0-2025-03-04-7ae1ed1cb\bin\monkeybrains.jar -o bin\evccgarmin.prg -f d:\Projects\evcc-garmin\evcc-garmin\monkey.jungle -y d:\Projects\evcc-garmin\ciq-developer-key\developer_key -d fenix6_sim -w
ERROR: null
On SDK 8.1.1 the build works again, but getGlanceView()
is not called, instead it goes directly into getInitialView()
. Glance Launch Mode is set to Launch in Glance Mode.
If I run the same configuration on a Fenix 6 Pro, the glance works with all three SDK versions.
You can reproduce the issue by running the following project with default app settings. An error will appear in the glance or widget, which is sufficient to determine which one is being invoked.
https://github.com/TheNinth7/evcc-garmin/tree/PerformanceRefactoring.