Sometimes something seems to go wrong in the copy - I've tried waiting 60 seconds after the copy completes, I've tried explicitly Ejecting the USB drive from Windows 10, without luck. Copying again usually seems to clear it, but now I seem to be caught in a loop where it fails on the first attempt to access a layout
ERROR: Invalid Resource Specified
DETAILS: Failed invoking
STORE_ID: 00000000000000000000000000000000
CALLSTACK:
Rez (initialize:101)
Rez (ErrorLayout:156)
C:\Users\abs\git\trainasone-connectiq\source\ErrorView.mc (onLayout:18)
The offending line is a
function onLayout(dc) {
setLayout(Rez.Layouts.ErrorLayout(dc)); <---
Have tried copying very many times
I also can't get the app logs to write, just the CIQ_LOG.TXT. My app is called trainasone-connectiq and I've tried trainasone-connectiq.txt and trainasone-connectiq.TXT
I'm trying to get a new test versions out to users and Fenix 5 testers are reporting the app failing with
UnexpectedTypeException: Expected String, given Number
native function
native function
in a makeWebRequest() call which used to work fine, and in fact is preceded with another makeWebRequest() which has similar parameters apart from a url tweak and response types, but now I can't even test anything on my 735xt because its in this unhappy place.
Maybe there is a better way to test on actual devices - would be very happy to hear of it but I couldn't find it from the docs and it seems that quite often when I finish testing in the simulator and copy to the device it fails in a different way.
It really is exhausting trying to develop for Connect IQ. A lot of time adding features to this version and it was tested under all the different simulators (and a physical 735xt) but as soon as it was sent it out to users it fails in a inexplicable way.