This is a sample from my build.xml
<mxmlc
file="${SRC_DIR}/Main.mxml"
output="${DEPLOY_DIR}/@{market}.air"
locale="@{locale}"
debug="false"
optimize="true">
<arg value="+configname=air"/>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<library-path dir="${FLEX_HOME}/frameworks/libs/air" append="true">
<include name="*.swc" />
</library-path>
</mxmlc>
There are no errors produced when this runs and a .air file is produced but when the .air file is double clicked I get the error message:
"The application could not be installed because the AIR file is damaged. Try obtaining a new AIR file from the application author."
Any help would be appreciated.