Patch old AIR 1.0 apps to work with AIR 1.5
May 13th, 2009
No comments
![]()
AIR applications built for version 1.0 point to an older namespace. Thus, they will not compile and run in Flex Builder if you are using AIR 1.5.
To fix this, (let’s assume we have an AIR app called SampleAIR), find the SampleAIR-app.xml file in the bin-debug folder of your AIR project.
Open this file in a text editor, and find the following line:
<application xmlns=”http://ns.adobe.com/air/application/1.0″>
To make your application work with AIR 1.5 you have to change this line to be:
<application xmlns=”http://ns.adobe.com/air/application/1.5″>
Now, save your file and try running / debugging it and it should compile and run fine. Hope that helps!