AirTip: Problem with app.xml in Flex 3

Wednesday, July 25th, 2007
AirTip: Problem with app.xml in Flex 3

So this is first tip for AIR development (See my FlexTips). I came across bug in Flex 3 Beta. It’s strange. I was playing with App-app.xml file to try change chrome and transparency.


<rootcontent systemChrome=”standard” transparent=”false” visible=”true”></rootcontent>

If you have systemChrome=”standard”, transparency must be set to false, if you have systemChrome=”none”, you can set transparency to true. And now problem. Try to set systemChrome=”standard” but have transparent=”true”. After compiling there is error: “Unknown error generating output application.xml files”. You can set systemChrome and transparent parameters back to correct values, you will not get rid of this error. After surfing I have find, that there is because of some invisible chars in the app.xml file. I was trying to remove them, but I can’t see any invisible chars. I have tried to delete file, and copy another working app.xml from working AIR project. Nothing.

The only way how I clear the error was by creating new AIR project, and copy all files from old project except app.xml. I use the new one.

Hope this help someone.

May this will help you:
I wanted to delete this project, and in bin folder there were app.xml which was used by Windows and can be delete, and there were wrong line:


<rootcontent systemChrome=”standard” transparent=”
true” visible=”true”></rootcontent>

So it seems, when you will have this error in your project, you have to delete or fix file in bin directory, not in source directory.
And when I wanted to switch off the computer, there were process which can be killed (flex 3), so I have to reset the computer.

This should help

AddThis Feed Button

This is some text prior to the author information. You can change this text from the admin section of WP-Gravatar  I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets. Read more from this author


tagged under: .

ABOUT THIS AUTHOR

I'm living in Bratislava, Slovakia. I'm Senior Flex, AIR Developer for my own company Flexets.

Get a Trackback link

5 Comments


  1. James L
    Visit Site
    July 26th, 2007

    I’ve had the same problem a couple times as well. Glad to hear that it wasn’t simply _my_ problem :)


  2. Mayur
    Visit Site
    July 26th, 2007

    Same here!


  3. Chris Simeone
    Visit Site
    July 30th, 2007

    Same here!

    After killing Flex Builder 3 I noticed a task “adl.exe” still running. Adl.exe is the “Apollo Debug Launcher.”

    After killing that task/process and restarting Flex Builder 3, I was able to clean my AIR project (which cleans out the bin folder) and modify my application descriptor file.


  4. Bo
    Visit Site
    September 5th, 2007

    Sane Here.

    Kill the Adl.exe’s that are running and you should be good to go…


  5. andy matthews
    Visit Site
    September 7th, 2008

    Thanks for posting this. I imported a project from another computer and was having problems with the app.xml file. Deleted it from the bin-debug directory, recompiled it and it worked great. Thanks.

Live Preview

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

This site is using OpenAvatar based on
Images is enhanced with WordPress Lightbox JS by Zeo
Clicky Web Analytics