The version in your application descriptor has to match the version of your AIR runtime.
HelloWorld-app.xml's root tag should look like this:
<application xmlns=" http://ns.adobe.com/air/application/1.0">
How does this apply to a pure as3 project in Flashbuilder4?
The version in app.xml should be not newer than the SDK version to be able to run with ADL.
If you have a 1.5.2 AIR SDK, then you can use namespaces from 1.0 up to 1.5.2.
But you can't use 2.0beta, or something else that doesn't exist.
Thanks mate. That is pretty obvious, I am using the 2.0beta runtime and sdks. Just never like the work flow for as3 projects in flashbuilder/flexbuilder outputting to AIR. Easier for flex projects to AIR.
I just outputted my .as files in Flashdevelop using the AIR2.0beta sdk/runtimes and it worked like magic. I just get these errors thrown at me when using Flashbuilder4.
The issue I had in Flashbuilder4 has been solved.
The easiest but possibly not the neatest was too copy the AIR 2 Beta SBK folders and files, then paste the over the flex4.0 sdk file structure. Achieves the same thing and I assume that you have copies of the SDK else where, if you need to roll back.
The other thing is to make sure the -app.xml that flex creates has the correct 2.0beta description.