Could not find symbol when build app for device 'epix' use Connect IQ 4.2.4

Could not find symbol when build app for device 'epix' use Connect IQ 4.2.4

Other device will works.

Does anyone else have the same problem can give me some tips to solve.

var screenSizes = new Array<ScreenSizeMap>[0];
screenSizes.add(new ScreenSizeMap(130, 159, 130, 2, 1));
screenSizes.add(new ScreenSizeMap(160, 189, 160, 3, 1));

Get error 

Error: Symbol Not Found Error
Details: Could not find symbol 'add'

And

var barcodeChars = barcode.toUpper().toCharArray();

Gets error

Error: Symbol Not Found Error
Details: Could not find symbol 'toCharArray'

  • Are you confusing the Epix with the Epix2?  The Epix is a pretty old device with ciq 1.x and a rectangular display.  The Epix2 has CIQ 4.x and a round display.

    Check the API doc as with the Epix, you can't use anything with an API Level >1,x

  • Ok, I got it, because one of user feedback of my app response that he cannot use app on device 'epix'.  and 'epix2' is works well. Maybe I need to remove 'epix' from supported device list.