Saturday, March 8, 2008

Flex Builder 3: Invalid Application Descriptor Error

Hello,

If you attempt to debug an AIR app running Flex Builder 3.0 and you get the following message,



chances are all you need to do is open up the correspondig Adobe AIR Application Descriptor File Template and change http://ns.adobe.com/air/application/1.0.M6 to
http://ns.adobe.com/air/application/1.0 (I removed the ".M6" extension).

From looking at other blog posts, it appears that when you move from the beta version of Flex 3 to the "real" version, the ".M6" should be removed. I am following a tutorial from the website -- apparently, they have not updated their tutorials. The one I am working through is here: http://www.adobe.com/devnet/air/flex/articles/air_training_file_system.html

Be sure you change the *-app.xml file and not the .mxml file, as I had done originally! If you change the namespace in the .mxml file, you are likely to get a compile error like: "Could not resolve * to a component implementation." where * is the name of a tag. In my case, the tag was "mx:windowedapplication".

When I run the app instead of executing I get a "socket timeout" message in the console. I don't know what that's about yet.

2 comments:

Simon said...

Thanks very much. That really helped me and resolved an issue I was having.

Denesh Kumar said...

what is the solution for invalid application descriptor error