Error Creating Air File 201 Icon
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unable to export an AIR release build with icons specified in the app.xml up vote 3 down vote favorite 1 I keep getting an error when I try to export a release AIR build: Error creating AIR file:Foo-app.xml: error 303: Icon /C:/Users/Fred/AppData/Local/Temp/assets/icon_16.png is missing from package Directory looks like: Foo/ src/ assets/ bin/ app-xml specifies the icons as
validation errors Error code Description Notes 100 Application descriptor cannot be parsed Check the application descriptor file for XML syntax errors such as unclosed tags. 101 Namespace is missing Add the missing namespace. 102 Invalid namespace Check the namespace spelling. 103 Unexpected element or attribute Remove offending elements and attributes. Custom values are not allowed in the descriptor file. Check the spelling of element and attribute names. Make sure that elements are placed within the correct parent element and that attributes are used with the correct elements. 104 Missing element or attribute Add the required element or attribute. 105 Element or attribute contains an http://stackoverflow.com/questions/10346484/unable-to-export-an-air-release-build-with-icons-specified-in-the-app-xml invalid value Correct the offending value. 106 Illegal window attribute combination Some window settings, such as transparency = true and systemChrome = standard cannot be used together. Change one of the incompatible settings. 107 Window minimum size is larger than the window maximum size Change either the minimum or the maximum size setting. 108 Attribute already used in prior element 109 Duplicate element. Remove the duplicate element. 110 At least one http://help.adobe.com/en_US/air/build/WSBE9908A0-8E3A-4329-8ABD-12F2A19AB5E9.html element of the specified type is required. Add the missing element. 111 None of the profiles listed in the application descriptor support native extensions. Add a profile to the supportedProfies list that supports native extensions. 112 The AIR target doesn't support native extensions. Choose a target that supports native extensions. 113
in AIR apps Historical content: I wrote this article over 7 years ago on 2009-05-26. You are viewing an archived post from my old WordPress blog. The archive contains https://ar.al/2205/ over 1,600 articles written over a ten year period. The formatting and contents of the posts may not display perfectly. Error 303 for embedded icons in AIR apps If you are using the same icon file in your app.xml file in AIR and embedding it to set it dynamically at runtime (for example if you have several icons that you switch between) then you'll most likely get the following error creating error: Error creating AIR file: YourApp-app.xml(94): error 303: Icon assets/icon.png is missing from the package. The Copy non-embedded assets setting in compiler preferences doesn't help you here because you are embedding the icons in order to dynamically switch the application icon at runtime. The easiest workaround I found was to simply duplicate the icons I wanted to use in the app.xml file (e.g., if my dynamic icon was called icon.png, error creating air I simply made a copy called icon-static.png). Crude, yes. Effective, yes :) Comments This error has a lot of possible reasons. I got it once when the icon size was not right and once when the images where embeded. Just as you said, I created another copy for the icons. You can see more info on my version here : http://spy6.blogspot.com/2009/10/error-creating-air-file-303error-some.html by Spy6 on 2009-10-30 14:31:47 I bumped into same error 303 when leaved empty =image= tag within =icon= block. One error message - two different causes. by Rodion Bykov on 2009-09-30 23:55:36 One other reason on Windows machines is that the path to your icons in yourapp-app.xml file does not match *exactly* the path of your files. In my case, I had a asset/Icons/appLogo-128.png in the xml file and on my system, the file was located under assets/icons/appLogo-128.png - notice the uppercase I in the xml file and lowercase i of i the icon directory. That makes this very strange since on Windows, the path is not case sensitive... by Breizo on 2011-01-02 04:55:43 Hi Aral, I'm having the same problem, but can't seem to fix it. Think I'm probably just doing something wrong. Tried copying and renaming the icon files. Then updated the app.xml to refle
be down. Please try the request again. Your cache administrator is webmaster. Generated Tue, 11 Oct 2016 05:08:36 GMT by s_wx1131 (squid/3.5.20)