App crash on watch , run on emulator good ?

Former Member
Former Member
ERROR: Unhandled Exception
DETAILS:
STORE_ID: 00000000000000000000000000000000
CALLSTACK:

It don't have any infomation. I remove almost all code and build it. I can't run it on watch.
  • With that store ID you're running a side load. When you use the "Build for device wizard" in eclipse, there's a check box for "build release version". Make sure that is NOT checked.

    That way you'll have a build with debug symbols. When you run that on the actual watch, you should get more details in ciq_log.txt and likely a stack trace.

    Also, what version of the SDK are you using, what device, and which target in the sim?
  • Former Member
    Former Member
    With that store ID you're running a side load. When you use the "Build for device wizard" in eclipse, there's a check box for "build release version". Make sure that is NOT checked.

    That way you'll have a build with debug symbols. When you run that on the actual watch, you should get more details in ciq_log.txt and likely a stack trace.

    Also, what version of the SDK are you using, what device, and which target in the sim?


    Build for device wizard:
    device 235
    sdk 1.2.x 1.3.x 1.4.x
    uncheck build release version

    here snapcommunity.garmin.com/.../1240735.png
  • Former Member
    Former Member
    Now I fixed it. I found that Monkey-C don't support Static Variable Operation well. Can use static const value. I yet create a notificationcenter object don't work for it. Now I change connect with deleget.