error with the watch face on a real watch

Hi again, I have kinda completed my watch face for the 416x416 pixel screen and I have a problem with the watch face in the venu 2. When I test it in the simulator it looks like this: https://ibb.co/SR5gGGp but on the real device I see an error icon and a black screen and I don't know why. I still haven't added resources folder for another resolutions so it shouldn't work with other devices besides it but I don't know what's the reason for it. Here are the two projects I have with this watch face: one project is with settings to change the rings color and the second one is no settings and only colorful rings https://drive.google.com/drive/folders/1DrMAFdcxHidYVdPADz6kASSiIrIxhxqs?usp=sharing

I added both to the folder in case it will help you to find what causes the problem even tough these are two different projects. I thought the problem was with the settings so I created another one without settings but it didn't solve it.

I have tried so many things and worked a few hours trying to fix it without any success. I know that memory error would cause it but then I believe I had the same error in the sim.

I will highly appreciate any help for this one, I don't know what else I can do to fix it.

TY in advance!

  • Have you looked ar the ciq_log.yml file in the garmin\apps\logs file on the watch where you get the crash?

  • No I haven't. I didn't theres a file that shows the crashes info in the device. Here's the file: https://filebin.net/004e1st99ah3p5rq

    I don't really know how to read it

  • It's simple.  Your crash happened at line 116 - in onUpdate of your view.

    File: 'C:\temp\eclipse-workspace\Olympics watch face2\source\OlympicswatchfaceView.mc'
    Line: 116
    Function: onUpdate

  • ty jim, how can I also open the file? it said I didn't have the app required to open it.

  • I just open them with notepad or notepad++  Any text editor should do.

  • Here's the whole file:

    ---
    Error: Unhandled Exception
    Time: 2021-09-27T12:49:56Z
    Part-Number: 006-B3703-00
    Firmware-Version: '4.67'
    Language-Code: eng
    ConnectIQ-Version: 4.0.5
    Filename: Olympics watch face2
    Appname: Olympics watch face
    Stack: 
      - pc: 0x100005d8
        File: 'C:\temp\eclipse-workspace\Olympics watch face2\source\OlympicswatchfaceView.mc'
        Line: 116
        Function: onUpdate
    ---
    Error: Unhandled Exception
    Time: 2021-09-27T12:49:56Z
    Part-Number: 006-B3703-00
    Firmware-Version: '4.67'
    Language-Code: eng
    ConnectIQ-Version: 4.0.5
    Filename: Olympics watch face2
    Appname: Olympics watch face
    Stack: 
      - pc: 0x100005d8
        File: 'C:\temp\eclipse-workspace\Olympics watch face2\source\OlympicswatchfaceView.mc'
        Line: 116
        Function: onUpdate
    ---
    Error: Unhandled Exception
    Time: 2021-09-27T12:59:04Z
    Part-Number: 006-B3703-00
    Firmware-Version: '4.67'
    Language-Code: eng
    ConnectIQ-Version: 4.0.5
    Filename: olympics no settings
    Appname: olympics no settings
    Stack: 
      - pc: 0x100005ed
        File: 'C:\temp\eclipse-workspace\olympics no settings\source\olympicsnosettingsView.mc'
        Line: 116
        Function: onUpdate
    ---
    Error: Unhandled Exception
    Time: 2021-09-27T13:03:16Z
    Part-Number: 006-B3703-00
    Firmware-Version: '4.67'
    Language-Code: eng
    ConnectIQ-Version: 4.0.5
    Filename: olympics no settings
    Appname: olympics no settings
    Stack: 
      - pc: 0x100005ed
        File: 'C:\temp\eclipse-workspace\olympics no settings\source\olympicsnosettingsView.mc'
        Line: 116
        Function: onUpdate
    ---
    Error: Unhandled Exception
    Time: 2021-09-27T13:06:29Z
    Part-Number: 006-B3703-00
    Firmware-Version: '4.67'
    Language-Code: eng
    ConnectIQ-Version: 4.0.5
    Filename: olympics no settings
    Appname: olympics no settings
    Stack: 
      - pc: 0x100005ed
        File: 'C:\temp\eclipse-workspace\olympics no settings\source\olympicsnosettingsView.mc'
        Line: 116
        Function: onUpdate