BUILD: ERROR: The specified icon is larger than the allowed icon size for fenix3
Weird. I replaced the 40x40 icon with a 25x25 icon, and I got this message...
BUILD: ERROR: The specified icon is larger than the allowed icon size for fenix3
BUILD: WARNING: The launcher icon 'AppIcon' (25x25) is smaller than the specified launcher icon size of the device 'fenix3' (40x40). Padding will be added to the image to center it.
The directory structure for my project looks like this...
+---resources
| | resources.xml
| | strings.xml
| |
| \---images
| icon.png
| bitmaps.xml
|
+---resources-fenix3
| \---images
| icon.png
| bitmaps.xml
|
+---resources-fr920xt
| \---images
| icon.png
| bitmaps.xml
|
\---source
TestApp.mc
TestView.mc
The body of bitmaps.xml looks like this...
<resources>
<bitmaps>
<bitmap id="AppIcon" filename="icon.png" />
</bitmaps>
</resources>
As far as I can tell, the resource compiler is trying to use the AppIcon from the default app folder (which is 61x43), which causes the error, and then later it is looking at the AppIcon from the device specific resource folder, which results in the warning.