If the version in the -app.xml is not correct, some APIs will not be
Flex harUI, thanks for the help.
The -app.xml file contains this verison: <application xmlns="http://ns.adobe.com/air/application/1.5">
If I change the "1.5" to anything else, like "2.5" or "2.5.1", I get this error when attempting to compile:
===== BEGIN ERROR MESG =======
invalid application descriptor: descriptor version does not match runtime version
My installed runtime is v2.5.1. I have tried deleting this file and having FB4 rebuild it, but the version remains 1.5 in the new file.
Every once in a while, it seems like they change the format of the -app.xml
file. Try getting a recent Flex 4 build and create a new AIR app and see
what the -app.xml looks like.
Not sure what you mean by "Flex 4 build". My version of the SDK is the latest, as is my versoin of Flash Builder 4. And the -app.xml file is new, too, because I deleted it and let FB4 recreate it. I wonder why it insists upon setting the Air version to 1.5? I have specified the latest Flex SDK.
Are you using SDK version 4.0, 4.1 or a 4.5 preview?
Flex harUI, you were right about the -app.xml file being from an outdated schema. I created an entirely new project to get the updated schema, and the updateded namespace. I Also had to update the update descriptor xml file with the new namespace.
Thanks for your help.