Acknowledged
CIQQA-3118

SDKs run mad

Hi, I can't develop anymore. All SDK versions are running mad.

When I use SDK 8.1.1, the result is:

java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\micro\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-8.1.1-2025-03-27-66dae750f\bin\monkeybrains.jar -o bin\LCARSv3230.prg -f c:\Users\micro\Documents\Ronny\Monkey C\LCARS\LCARS - v3.2.30\monkey.jungle -y c:\Users\micro\Documents\Ronny\Monkey C\developer_key -d fenix7x_sim -w --debug-log-level 3

ERROR: null

 *  The terminal process terminated with exit code: 100.

When I use SDK 7.4.3, the result is:

java -Xms1g -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar c:\Users\micro\AppData\Roaming\Garmin\ConnectIQ\Sdks\connectiq-sdk-win-7.4.3-2024-12-11-90ec25e45\bin\monkeybrains.jar -o bin\LCARSv3230.prg -f c:\Users\micro\Documents\Ronny\Monkey C\LCARS\LCARS - v3.2.30\monkey.jungle -y c:\Users\micro\Documents\Ronny\Monkey C\developer_key -d fenix7x_sim -w --debug-log-level 3

ERROR: Device 'fenix7x' requires API Level '5.1.0'. The current SDK supports up to API Level '5.0.1'. Try updating your SDK using the Connect IQ SDK Manager.


I even tried with several devices, complete new installations of Java, all SDKs and all devices in the SDK-manager. All problems still there.
What is the problem and when will it be fixed?

I can provide a log.zip. Where should it be sent?


With best regards
Ronny

  • Hi Richard,
    I'm afraid you are right. It's working on another machine :-(
    I think, you could close that thread and I have to figure out the problem. Maybe a complete reset would help...
    Best regards and thanks for your help.
    Ronny

  • We have looked through the logs and are able to build the project using 8.1.1 without issue. Would you happen to have access to a separate machine to try building your project on? It seems like there is something specific to the environment of your current machine that is causing the problem.

    Not suggesting that as a fix, but it would help narrow down the cause.

  • Hello Richard,

    I've sent a log.zip to '[email protected]' at May 12th 19:31 UTC. Maybe that could help.

    In the meantime I did a copy-and-paste from a broken project into a new one (nearly line-by-line). Obviously the problem is caused by a definition of global variables without data, but only with type. Example:
    public var astroDataContent as Lang.Object; --> error

    public var astroDataContent = {} as Lang.Object; --> no error

    In my project I do a lot a astronomical calculations to get data of celestial bodies. Since SDK 8.1.1 there also seem to be a difference in memory handling of variables. Until SDK 7.4.3. there was no problem, if the variables got defined inside a function (even with recursions). With 8.1.1 I have to define a lot of variables outside a function as globals to avoid a stack overflow.

    I didn't get the the apps to be fully operational again, yet. But I think, I'm on a good way.

    Greetings, Ronny

  • We are having trouble reproducing this issue.

    Is this problem still occurring? If so is it specific to this one CIQ project or is it all CIQ projects? If it is only this one project do you have a way to narrow down which block of code is causing this error to appear?