Simulate successfully but not working on watch

Former Member
Former Member
Howdy! I am new to programming in the Garmin SDK. I am however, not new to programming as a whole. I have created a very simple, low memory app that runs well in the simulator on Eclipse, however when I put it on my watch and run it, I get the white screen with the IQ and yellow exclamation (!) mark. I am running the app on a Fenix 3 HR.

Any hints to what is causing this?

Thanks!
  • Former Member
    Former Member over 9 years ago
    A lot of things can cause this, but first of all check if you drawText(...,<number>,...) without explicit usage of toString, meaning for drawText to run on watch correctly you need to use <number>.toString() as a parameter.
    Not sure if this is your thing, but similar problem caused me most trouble trying to figure out.

    Since app log on watch is useless (it's either "Symbol not found" or "Out of memory" for me), I use the rule of the thumb: cut script contents until application is running on watch and then start to restore text to find out the function, that causes crash, then do the same for responsible block until you find out the exact line. For in-depth debugging you may use manual logging described in New developer FAQ
  • Former Member
    Former Member over 9 years ago
    Thanks!

    Thanks guys, that has helped a whole lot.