04-10-2018 19:36 - edited 04-10-2018 19:39
04-10-2018 19:36 - edited 04-10-2018 19:39
Trying to port my pebble watchface and getting this error trying to implement animations through the js api.
This is probably fairly stupid, but the error logged here isn't useful and the face crashes the simulator lol. Anyone seen this / any tips on logs to check for better error logging?
From the simulator log...
[2018-04-10 22:33:57.933] [info] companion recv: {"id":2,"jsonrpc":"2.0","result":null}
[2018-04-10 22:33:57.933] [info] companion recv: {"id":3,"jsonrpc":"2.0","result":null}
[2018-04-10 22:33:57.941] [error] appsim stderr: 2018-04-10 22:33:57.941 app[5924:64678] ASSERT_Log: Type: 2 func_addr: 0x00000000 lr: 0x00000000, file: , line: 0, func: , expr: Critical glue error
2018-04-10 22:33:57.941 app[5924:64678] data:
2018-04-10 22:33:57.941 app[5924:64678] 22
[2018-04-10 22:33:57.941] [error] appsim stderr: 2018-04-10 22:33:57.941 app[5924:64678] 0
2018-04-10 22:33:57.941 app[5924:64678] 0
2018-04-10 22:33:57.941 app[5924:64678] 0
2018-04-10 22:33:57.941 app[5924:64678] ASSERT_Log: Type: 2 func_addr: 0x00000000 lr: 0x00000000, file: , line: 0, func: , expr: Critical glue error
2018-04-10 22:33:57.941 app[5924:64678] data:
2018-04-10 22:33:57.941 app[5924:64678] 22
2018-04-10 22:33:57.941 app[5924:64678] 0
2018-04-10 22:33:57.941 app[5924:64678] 0
2018-04-10 22:33:57.941 app[5924:64678] 0
[2018-04-10 22:33:58.376] [info] appsim exit code: null (signal SIGSEGV)
Answered! Go to the Best Answer.
Best Answer04-11-2018 05:52
04-11-2018 05:52
Ah re-read through the docs and I think it was due to missing the <g> element, instructions unclear, cat now stuck in toaster :).
Best Answer04-10-2018 20:35
Gold Fitbit Product Experts share support knowledge on the forums and advocate for the betterment of Fitbit products and services. Learn more
04-11-2018 05:52
04-11-2018 05:52
Ah re-read through the docs and I think it was due to missing the <g> element, instructions unclear, cat now stuck in toaster :).
Best Answer04-11-2018 11:43
04-11-2018 11:43
@sovanyio: did it fix your issue?
Best Answer04-11-2018 11:57
04-11-2018 11:57
It did, but the logging could definitely be improved.
Are there plans to release a standalone sdk akin to what Pebble had? Would love to be able to use my own versioning and editors in addition to the better logging through the local tools.
Best Answer04-16-2018 13:23
04-16-2018 13:23
@sovanyio: what you described can we achieve with command line interface which is in consideration right now.