I have the following application.xml
that I am using to create a captive runtime bundle on Windows, targeting the 64-bit architecture:
<?xml version="1.0" encoding="UTF-8"?>
<application xmlns="http://ns.adobe.com/air/application/3.0">
<id>AppName</id>
<versionNumber>1.0</versionNumber>
<filename>AppName</filename>
<architecture>64</architecture>
<initialWindow>
<content>AppName.swf</content>
<visible>true</visible>
<width>960</width>
<height>540</height>
</initialWindow>
</application>
I am using <architecture>64</architecture>
as explained in this answer.
The command that I am using to create the package is as follows:
adt.bat -package -keystore AppName.p12 -storetype pkcs12 -target bundle AppName application.xml AppName.swf
However, I am getting the following error:
error 103 : application.architecture is an unexpected element/attribute
How can I solve this?
It seems that updating the namespace from http://ns.adobe.com/air/application/3.0
to http://ns.adobe.com/air/application/33.1
has fixed it.
The last segment of the namespace, "3.0", specifies the version of the runtime required by the application, as explained here.
My guess is that 3.0 runtime is too old and didn't have 64-bit support. 33.1 runtime is from Adobe AIR SDK by HARMAN. Here is an interesting blog article explaining the future of Adobe AIR.