Question

The Adobe doc Developing AIR applications for mobile devices lists quite a few icons to be declared in an application descriptor file.

But when I try Export Release Build with the following myApp-app.xml:

<icon>
    <image16x16>assets/icons/16x16.png</image16x16>
    <image29x29>assets/icons/29x29.png</image29x29>
    <image32x32>assets/icons/32x32.png</image32x32>
    <image36x36>assets/icons/36x36.png</image36x36>
    <image48x48>assets/icons/48x48.png</image48x48>
    <image57x57>assets/icons/57x57.png</image57x57>
    <image72x72>assets/icons/72x72.png</image72x72>
    <image114x114>assets/icons/114x114.png</image114x114>
    <image128x128>assets/icons/128x128.png</image128x128>
    <image512x512>assets/icons/512x512.png</image512x512>
    <!-- 
    <image50x50>assets/icons/50x50.png</image50x50>
    <image58x58>assets/icons/58x58.png</image58x58>
    <image100x100>assets/icons/100x100.png</image100x100>
    <image144x144>assets/icons/144x144.png</image144x144>
    <image1024x1024>assets/icons/1024x1024.png</image1024x1024>
     -->
</icon>

I get the error message (regardless if deploying for Android or iOS) unless I comment the 5 lines as above:

error 103: application.icon.image50x50 is an unexpected element/attribute
error 103: application.icon.image58x58 is an unexpected element/attribute
error 103: application.icon.image100x100 is an unexpected element/attribute
error 103: application.icon.image1024x1024 is an unexpected element/attribute
error 103: application.icon.image144x144 is an unexpected element/attribute

My question is what to do here? Moving those 5 icons underneath <android>....</android> or <iphone>....</iphone> doesn't help either.

Using Flash Builder 4.7 beta under Windows 7 / 64 bit.

Was it helpful?

Solution

The solution is to update the version of AIR used within your SDK. Those new icon sizes are not supported in the version of AIR included in Adobe Flex 4.6 [or Apache Flex 4.8].

Instructions for updating the AIR SDK within Flex can be found here. Generically do this:

  1. Download current SDK and unzip it
  2. Copy and files and folders from your unzipped directory to the root of your Flex directory
  3. Update the name of the Flex SDK in the “flex-sdk-description.xml” file.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top