When compiling a watchface project, that has device specific resource folders like resources-fr935 and resources-vivoactive3, with SDK 2.4.1 or 2.4.2, the prg targets the wrong device.
This has been first observed with an app installed from the app store onto a device, and then on closer inspection found that the bug affects sideloads and the sim as well.
This looks like a resource compiler bug.
Environment:
Mac
Eclipse Oxygen.2
SDK 2.4.1 and 2.4.2
Plugin 2.4.2
Steps to reproduce:
Import the attached watchface project in Eclipse and compile it with SDK 2.4.1 or 2.4.2.
The project targets 3 devices: f5s, va3 and fr935.
Each device has its own resources folder with a unique string resource to identify it.
In the sim, run it with target as either va3 or f5s.
Note that the string FR 935 is displayed on the f5s or va3 screen
Build for device f5s or va3 and sideload to actual f5s or va3 device
Note that the string FR 935 is displayed on the f5s or va3 screen
Export as iq package, upload to store and install to actual f5s or va3 device
Note that the string FR 935 is displayed on the f5s or va3 screen
Expected results:
- The va3 should display "Vivoactive 3". The f5s should display "Fenix 5S"
Observed results:
1. Both the va3 and f5s devices display "FR 935"
If the FR 935 is excluded from the list of targets, but its resources folder is still present, the same still happens.
If the FR 935 resources folder is removed from the project, then the va3 incorrectly displays "Fenix 5S".