Packaging air application error

dear all
i have an air application and it has been runned and
debugged successfully but at the packaging step to obtain .air file
i couldn't run it . the error the appeared was as following :
(The application could not be installed because the AIR file
is damaged. Try obtaining a new AIR file from the application
author.)
so please help me in this problem as possible.
thanks

Hi,
Even if the application may run in the development mode, some
fail to run in the production mode because there might be errors in
your "youfile-app.xml" file. Please check all the tags in the
app.xml file and rebuild the application and it works fine.
Regards,
Code.

Similar Messages

  • Packaging AIR application with ant fails, Packaging AIR application inside IntelliJ works

    Hi,
    I can package AIR application (package type ad-hoc distribution) inside IntelliJ (from Build menu)
    but when I try with my ant build, it encounters an error running the adt command
    Is there a way to have more details on the error? At the moment, it's just a Java returned:2 error.
    I've copied my ant config files below.
    Any ideas anyone on where the problem could lie or how to debug it?
    THANKS!
    Note: I have no issue with the package debug target, be it via IntelliJ or my ant build.
    Build.xml
    <project name="headr" default="package-application-debug-interpreter" basedir="../">
              <property file="build/build.properties" />
              <property name="FLEX_HOME" value="${flexsdk.dir}" />
              <taskdef resource="flexTasks.tasks" classpath="${flexsdk.dir}/ant/lib/flexTasks.jar" />
              <target name="clean" description="deletes everything in build folder">
                        <echo message="Removing build directory contents..." />
                        <delete includeemptydirs="true" quiet="false">
                                  <fileset dir="${build.dir}" />
                        </delete>
              </target>
              <target name="perform-file-copy">
                        <mkdir dir="${build.dir}" />
                        <echo message="Copy files to output dir: ${build.dir}" />
                        <copy file="src/HeadrApplication-app.xml" todir="${build.dir}" />
                        <replace file="${build.dir}/HeadrApplication-app.xml" token="[This value will be overwritten by Flash Builder in the output app.xml]" value="out/HeadrApplication.swf" />
              </target>
              <target name="compile" depends="clean,perform-file-copy">
                        <mxmlc file="src/HeadrApplication.as" output="${build.dir}/HeadrApplication.swf" locale="en_US" accessible="false" actionscript-file-encoding="UTF-8" static-rsls="true" configname="airmobile" debug="${debug}" failonerror="true" maxmemory="1024m" fork="true" swf-version="17">
                                  <load-config filename="${flex_config}" append="true" />
                        </mxmlc>
              </target>
              <target name="pack-application" depends="compile">
                        <java jar="${adt.jar}" fork="true" failonerror="true">
                                  <arg value="-package" />
                                  <arg value="-target" />
                                  <arg value="${target}" />
                                  <arg value="-provisioning-profile" />
                                  <arg value="${provisioning-profile}" />
                                  <arg value="-storetype" />
                                  <arg value="pkcs12" />
                                  <arg value="-keystore" />
                                  <arg value="${keystore}" />
                                  <arg value="-storepass" />
                                  <arg value="${storepass}" />
      <arg value="-extdir" />
      <arg value="ane/" />
                                  <arg value="${build.dir}/HeadrApplication.ipa" />
                                  <arg value="${build.dir}/HeadrApplication-app.xml" />
                                  <arg value="${build.dir}/HeadrApplication.swf" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="Default.png" />
      <arg value="-C" />
      <arg value="src/" />
      <arg value="[email protected]" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="icons/." />
                                  <arg value="data/." />
                        </java>
              </target>
              <target name="pack-application-debug" depends="compile">
                        <java jar="${adt.jar}" fork="true" failonerror="true">
                                  <arg value="-package" />
                                  <arg value="-target" />
                                  <arg value="${target}" />
                                  <arg value="-connect" />
                                  <arg value="-provisioning-profile" />
                                  <arg value="${provisioning-profile}" />
                                  <arg value="-storetype" />
                                  <arg value="pkcs12" />
                                  <arg value="-keystore" />
                                  <arg value="${keystore}" />
                                  <arg value="-storepass" />
                                  <arg value="${storepass}" />
      <arg value="-extdir" />
      <arg value="ane/" />
                                  <arg value="${build.dir}/HeadrApplication.ipa" />
                                  <arg value="${build.dir}/HeadrApplication-app.xml" />
                                  <arg value="${build.dir}/HeadrApplication.swf" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="Default.png" />
      <arg value="-C" />
      <arg value="src/" />
      <arg value="[email protected]" />
                                  <arg value="-C" />
                                  <arg value="src/" />
                                  <arg value="icons/." />
                                  <arg value="data/." />
                        </java>
              </target>
              <target name="package-application-debug-interpreter">
                        <antcall target="pack-application-debug">
                                  <param name="debug" value="true" />
                                  <param name="flex_config" value="build/app-config-device-debug.xml" />
                                  <param name="target" value="ipa-debug-interpreter" />
                                  <param name="provisioning-profile" value="ios_profiles/headr_development.mobileprovision" />
                                  <param name="keystore" value="ios_profiles/dev_certificate.p12" />
                                  <param name="storepass" value="xxxx" />
                        </antcall>
              </target>
              <target name="package-application-debug">
                        <antcall target="pack-application-debug">
                                  <param name="debug" value="true" />
                                  <param name="flex_config" value="build/app-config-device-debug.xml" />
                                  <param name="target" value="ipa-debug" />
                                  <param name="provisioning-profile" value="ios_profiles/headr_development.mobileprovision" />
                                  <param name="keystore" value="ios_profiles/dev_certificate.p12" />
                                  <param name="storepass" value="xxxx" />
                        </antcall>
              </target>
              <target name="package-application-adhoc">
                        <antcall target="pack-application">
                                  <param name="debug" value="false" />
                                  <param name="flex_config" value="build/app-config-device.xml" />
                                  <param name="target" value="ipa-ad-hoc" />
                                  <param name="provisioning-profile" value="ios_profiles/headr_development.mobileprovision" />
                                  <param name="keystore" value="ios_profiles/dev_certificate.p12" />
                                  <param name="storepass" value="xxxxx" />
                        </antcall>
              </target>
              <target name="package-application-appstore">
                        <antcall target="pack-application">
                                  <param name="debug" value="false" />
                                  <param name="flex_config" value="build/app-config-device.xml" />
                                  <param name="target" value="ipa-app-store" />
                                  <param name="provisioning-profile" value="ios_profiles/TODO" />
                                  <param name="keystore" value="ios_profiles/TODO" />
                                  <param name="storepass" value="TODO" />
                        </antcall>
              </target>
              <target name="launch-application">
                        <exec executable="${adl.exe}">
                                  <arg value="bin-debug/HeadrApplication-app.xml" />
                                  <arg value="-profile mobileDevice" />
                        </exec>
              </target>
    </project>
    app-config-device.xml
    <?xml version="1.0"?>
    <flex-config xmlns="http://www.adobe.com/2006/flex-config">
              <compiler>
                        <include-libraries append="true">
                                  <library>../libs/swc/robotlegs-framework-v1.5.2.swc</library>
                                  <library>../libs/swc/greensock-as3-v11.693.swc</library>
                                  <library>../libs/swc/GraphAPI_Mobile_1_8_1.swc</library>
                                  <library>../libs/swc/MonsterDebuggerMobile-v3.0.2.swc</library>
                <library>../libs/swc/TheMiner_en_v1_3_10.swc</library>
                <library>../libs/swc/analytics-v1.1.319.swc</library>
                <library>../libs/swc/assets.swc</library>
                        </include-libraries>
                        <source-path append="true">
                <path-element>../../corelib/src/</path-element>
                <path-element>../../corelib/test/</path-element>
                <path-element>../../corelib/libs/src/</path-element>
                                  <path-element>../libs/src/</path-element>
                        </source-path>
                        <external-library-path append="true">
                <!-- path-element>../ane/com.headr.HeadrNativeExtensions.ane</path-element -->
                <path-element>../ane/com.milkmangames.extensions.GoViral.ane</path-element>
                        </external-library-path>
                        <debug>false</debug>
                        <define>
        <name>CONFIG::debugging</name>
        <value>false</value>
                        </define>
    <define>
        <name>CONFIG::simulator</name>
        <value>false</value>
    </define>
              </compiler>
    </flex-config>

    You may want to try using the settings used by Flash Builder to package the application, more details of which can be found at:http://helpx.adobe.com/x-productkb/multi/compilation-results-flex-buil der-flex.html
    Update your ANT script with these, and try again.

  • Is it possible to packaging Air application for Mac AppStore with Air 3?

    Is it possible to packaging Air application for Mac AppStore with Air 3 ?

    Anyone from adobe? Anyone?
    Also I was wondering what could prevent the window from going
    away when user uses windows "show desktop" command, or perhaps
    there is a way to restore it right away?
    thanks.

  • Big ANE causes java.lang.OutOfMemoryError when packaging Air application

    Hi,
    I'm working on an Air mobile game that uses ANE on iOS and Android. I'm in the process of creating a new ANE and face a problem on the Android side.
    My ANE requires an external framework (Burstly, http://burstly.com). If I just link the Android project to Burstly's .jar file, I get errors in "adb logcat", like:
    I/dalvikvm(16074): Could not find method com.burstly.lib.BurstlySdk.init, referenced from method com.freshplanet.burstly.functions.InitBurstlyFunction.call
    In order to include Burstly's files in my own .jar, I unzip Burstly's .jar file and repackage them with my compiled code in a unique .jar (following advice on http://stackoverflow.com/questions/7732742/air-3-native-extensions-for-android-can-i-how-t o-include-3rd-party-libraries).
    Problem: Burstly's SDK includes thousands of files. It doesn't create any trouble when packaging the ANE, but when I try to package the Air application, I get the following error:
    dx tool failed:
    UNEXPECTED TOP-LEVEL ERROR:
    java.lang.OutOfMemoryError: Java heap space
              at com.android.dx.util.IntList.<init>(IntList.java:87)
              at com.android.dx.rop.code.RopMethod.calcPredecessors(RopMethod.java:174)
              at com.android.dx.rop.code.RopMethod.labelToPredecessors(RopMethod.java:95)
              at com.android.dx.ssa.back.IdenticalBlockCombiner.process(IdenticalBlockCombiner.java:74)
              at com.android.dx.ssa.back.SsaToRop.convert(SsaToRop.java:132)
              at com.android.dx.ssa.back.SsaToRop.convertToRopMethod(SsaToRop.java:76)
              at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:103)
              at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:74)
              at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
              at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
              at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
              at com.android.dx.command.dexer.Main.processClass(Main.java:299)
              at com.android.dx.command.dexer.Main.processFileBytes(Main.java:278)
              at com.android.dx.command.dexer.Main.access$100(Main.java:56)
              at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229)
              at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
              at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
              at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
              at com.android.dx.command.dexer.Main.processOne(Main.java:247)
              at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
              at com.android.dx.command.dexer.Main.run(Main.java:139)
              at com.android.dx.command.dexer.Main.main(Main.java:120)
              at com.android.dx.command.Main.main(Main.java:89)
    I read that the solution to eliminate this error is to give Java the parameters "-Xms...M -Xmx...M", with "..." being a high-enough number. Note that I'm working on a machine with 8GB of RAM. I tried to package the app in command line to be able to pass these parameters:
    /usr/bin/java -Xms512M -Xmx4096M -jar "/Applications/Adobe Flash Builder 4.6/sdks/4.6.0air31/lib/adt.jar" -package -target apk -storetype pkcs12 -keystore [...].p12 Main.apk Main-app.xml Main.swf -extdir "/Users/alex/Documents/Adobe Flash Builder 4.6/.metadata/.plugins/com.adobe.flexbuilder.project.ui/ANEFiles/front-end-mobile/com.ado be.flexide.multiplatform.ios.platform"
    But when I run a "ps -ef | grep java", I can see that adt runs another Java program (dx) without transmitting my -Xms -Xmx parameters:
    /usr/bin/java -jar /Applications/Adobe Flash Builder 4.6/sdks/4.6.0air31/lib/android/bin/dx.jar --dex --output=/private/var/folders/t9/3kw74cx14nv2xg9tgmx9m1jc0000gp/T/b5757d93-1e93-439c-8f6d -c93e4933f6f1/outputDEX.dex [... bunch of jars]
    Any idea to solve this issue?
    Thanks
    Alex

    I solved my issue by setting the _JAVA_OPTIONS environment variable. (Note: there are two underscores)
    I added the following line to my .bash_profile:
    export _JAVA_OPTIONS="-Xms1024m -Xmx4096m -XX:MaxPermSize=512m"
    Now everytime a Java program is launched from the command line, I see the following message:
    Picked up _JAVA_OPTIONS: -Xms1024m -Xmx4096m -XX:MaxPermSize=512m
    And my application packaging runs just fine now.
    I still have an issue though: this trick solved the problem for packaging the app from the command line, but the _JAVA_OPTIONS are not picked up when packaging from Flash Builder, so it still crashes there.
    Note that my Adobe Flash Builder 4.6.ini contains the following options:
    -Xms512m
    -Xmx1676m
    -XX:MaxPermSize=512m
    -XX:PermSize=64m
    1676m is the highest number I can put before Flash Builder refuses to launch. I'm not sure if these parameters are actually passed to the VM that runs de dx.jar program, or if it's just for the ActionScript compiler. But anyway my app packaging still crashes in Flash Builder.
    If someone knows a way to force Flash Builder to pickup the _JAVA_OPTIONS set in the command line, let me know :-)
    Thanks
    Alex

  • Invalid Namespace when trying to package AIR application

    I am using a self-signed certificate when trying to package
    my application, but when I run the command to package it I get the
    following error: "Invalid namespace
    http://ns.adobe.com/air/application/1.0"
    Then it leaves a .tmp file in the directory where I ran the
    batch file containing the package statement.
    What should be done from here?

    Check which version of adt you are using. Sounds like you are
    using a beta release, which wouldn't recognize the final 1.0
    namespace.
    Oliver Goldman | Adobe AIR Engineering

  • Installing AIR application - Error 3003

    Hi All,
    We're trying to install an AIR application onto a test PC
    with Windows XP. The XP user account does not have admin rights. We
    have granted, however, the ability for that user to create files
    and folders under the C:\Program Files\ directory where our
    application should get installed.
    The installation fails with the following error,
    "Sorry an error has occurred.
    The application could not be installed. Try installing it
    again. If the problem persists, contact the application author
    Error #3003"
    What is really strange is that whilst the directory does get
    created underneath C:\Program Files\ the installation files are
    installed in the root of C:\
    We can run the application from the C:\ root, and all works
    fine!!
    Is there a requirement for users to have ADMIN accounts on
    the PC in order to install the AIR application? or do they simply
    need the permissions to create files/folders under C:\Program
    Files\ or is there something else?
    Thanks
    Dave

    Yes, I got the same problem - error #0
    Windows Vista works fine but even a little HelloWorld application fails with the folowwing error message under WIN XP
    Sorry, an error has occurred.
    The application could not be installed. Try installing it again. If the problem persists, contact the application author (error# 0).
    Are there any solutions available for that issue?

  • Package AIR Application include serial key list

    Hi all,
    I just finished my AIR application. Now, I want to distribution my app but I don't know how to package to .air file inculde serial key (it's mean to install my app, user must have serial key).
    I searched on google but have no link satisfying.
    Please help me.
    Thanks,
    ndt

    Hi Anton Azarov,
    "trial via instant connection to the internet" I think it's the best solution but if using it, user have to connect internet when run app (It's so inconvenience)
    Anyway, thanks you so much,
    Thanks,
    ndt

  • Packaging AIR Application

    Is it possible to include AIR runtime redistributable also in the package, so user will not have to download AIR before installing application? Can we package it in EXE or DMG files? I am using AIR 3.6 with Flex 4.6.

    Yes this is called packaging the Captive Runtime.  It is available as one of the Export Release Build options in Flash Builder.  With ADT, use the -bundle switch:
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html

  • Package AIR applications

    This question was posted in response to the following article: http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb5-13a250c812e8e9b5533-7ff1 .html

    There are several references on this page to the "Flex Build Packaging" page in the Project Properties dialog. These are all wrong: there is no longer a page with that name, it's now called "Actionscript Build Packaging". Thanks Adobe for playing musical chairs with the names of all the different parts of your technology ecosystem...
    More importantly THERE ARE ERROR MESSAGES in Flash Builder that instruct you to refer to this page, and it took  me hours to realize what page they were actually referring to! Please update this Adobe.

  • Support system tray icon of Air application

    Hi All,
    I developed a widget with flash builder 4 and I exported all the project in AIR application. Then, I packaged AIR application in .exe file for Windows, and dmg file for MAC. My application works correctly for both of OS.
    When I launch application on OS Windows, an image on system tray (for my application a socceer ball) appears. On the other side, on OS MAC my icon appears, but after 3 or 4 seconds it disappears and it is replaced with an other icon (probably it's a default icon of mac for this kind of application?) ...
    What can I do? Thanks in advance, regards
    Gianni

    I attached files reporting images of icon on system tray. I didn't set any option on app descriptor, I used SystemTrayIcon and DockIcon APIs.
    Anyway I attach part of my application code ...
    windowComplete event of WindowedApplication is handled by function preInit () ...
                private function onWindowActivate():void
                    if (!this.windowActivateRequest)
                        this.dock();
                private function onInvoke( event:InvokeEvent ):void
                    if( event.reason == InvokeEventReason.LOGIN )
                        //do background processing...
                        trace( "Running in background..." );
                        this.windowActivateRequest = false;
                        this.dock();                   
                    else
                        trace("Running on screen");
                        this.windowActivateRequest = true;
                        if (this.stage != null)
                            this.stage.nativeWindow.activate();   
                public function dock(event:Event = null):void
                    stage.nativeWindow.visible = false;
                    var imgObj:BitmapAsset = new trayIcon() as BitmapAsset;
                    var bitmampDataTmp:BitmapData = imgObj.bitmapData;
                    var arrayTmp:Array = new Array();
                    arrayTmp.push(bitmampDataTmp);
                    NativeApplication.nativeApplication.icon.bitmaps = arrayTmp;
                public function undock(event:Event = null):void
                    this.windowActivateRequest = true;
                    stage.nativeWindow.visible = true;
                    NativeApplication.nativeApplication.icon.bitmaps = [];
                private function preInit():void
                    try
                        NativeApplication.nativeApplication.startAtLogin = true;
                    catch ( e:Error )
                        trace( "Cannot set startAtLogin:" + e.message );
                    NativeApplication.nativeApplication.addEventListener( InvokeEvent.INVOKE, onInvoke );
                    if(NativeApplication.supportsDockIcon)
                        var dockIcon:DockIcon = NativeApplication.nativeApplication.icon as DockIcon;
                        NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE,undock);
                        dockIcon.menu = createIconMenu();
                    }else{
                        if (NativeApplication.supportsSystemTrayIcon){
                            var sysTrayIcon:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;
                            sysTrayIcon.tooltip = "Stopwatch";
                            sysTrayIcon.addEventListener(MouseEvent.CLICK,undock);
                            sysTrayIcon.menu = createIconMenu();   
                private function createIconMenu():NativeMenu
                    var iconMenu:NativeMenu = new NativeMenu();
                    var exitCommand: NativeMenuItem = iconMenu.addItem(new NativeMenuItem("Esci"));
                    exitCommand.addEventListener(Event.SELECT, chiudi);
                    return iconMenu;
    trayIcon is name of .png which represent ball image ...  
    I try to summarize ...In MAC OS DockIcon isn' t represented by ball image ...In Windows OS everything works.
    I'm sorry for disturbing you but I hope that everything is clear.
    Thanks

  • What IDE do I use to develop Adobe AIR applications?

    You can leverage any existing IDE that you already use for Flash, Flex, or HTML/JavaScript development. Adobe AIR does not require a specific IDE; however, Adobe AIR is integrated into Adobe Creative Suite, Flash Professional, and Flash Builder (formerly known as Flex Builder).
    We also provide a set of command line tools that allow developers to test and package AIR applications from the command line. These tools can be found in the Adobe AIR SDK.
    Basically, you can use any tool that outputs SWF or HTML files.

    Here's one.
    The thunderbolt port doubles as a Mini DisplayPort.
    Mind you, it's just an adapter. You will need an HDMI cable to span the distance from the computer to the TV.

  • Error while installign AIR Application (invalid package signature errorID=5022)

    Hi All,
    I am new to Adobe AIR and facing error while Installing AIR application. This specially happens when in include a folder named "htmls" in the assets directory in my project.
    This folder have lots of html files and others folders. These file names have some special characters as well like ". & - _".
    However I can install the Application when I exclude this folder and everything works fine. Not able to find out the exact problem.
    Looking forward for help !!
    Log contents:
    .airappinstall
    failed while unpackaging: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="invalid package signature" errorID=5022]
    starting cleanup of temporary files
    application installer exiting
    .airinstall
    App installer failed; exit code 7
    begin quitting

    You may have found a bug in the AIR installer or packager. Given that the signature is an XML file, the "&" character seems the most likely culprit.
    The only short-term workaround is to identify which characters cause the problem and avoid using it.
    You should avoid the following characters in any case, since these cannot be used in file names on all platforms:
    Character            Hexcode
    various     0x00 - x1F
    *           x2A
    "           x22
    :           x3A
    >           x3C
    <           x3E
    ?           x3F
    \           x5C
    |           x7C

  • Error occurred while packaging the application: Android-x86

    Hello,
    I tried to export an existing Android-ARM to Android-x86:
    This application uses to 2 ANE for In-App purchases. One for iOS and another one for Android. I repackaged the Android ANE file to be compatible with Android-x86 and I also add the new Flash Builder "-arch" with value "x86" and place it before "-storetype".
    Error occurred while packaging the application:
    output file is not writable
    usage:
      adt -checkstore SIGNING_OPTIONS
      adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <country> )? ( -validityPeriod <years> )? ( 1024-RSA | 2048-RSA ) <pfx-file> <password>
      adt -help
      adt -migrate SIGNING_OPTIONS ( <air-file-in> | <airn-file-in> ) <output-file>
      adt -package SIGNING_OPTIONS ( -target air )? <output-package> ( <app-desc> FILE_OPTIONS | <input-package> )
      adt -package SIGNING_OPTIONS -target airn <output-package> ( <app-desc> FILE-AND-PATH-OPTIONS | <input-package> )
      adt -package -target ( apk | apk-debug | apk-emulator | apk-captive-runtime ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) ( -airDownloadURL <url> )? ( ARCH_OPTIONS )? SIGNING_OPTIONS <output-package> ( <app-desc> PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | <input-package> PLATFORM-SDK-OPTION? )
      adt -package -target ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc | ipa-test-interpreter | ipa-debug-interpreter | ipa-test-interpreter-simulator | ipa-debug-interpreter-simulator ) ( CONNECT_OPTIONS? | LISTEN_OPTIONS? ) ( -sampler )? ANE_LINK_OPTIONS? AOT_MODE_OPTIONS? SIGNING_OPTIONS <output-package> ( <app-desc> PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | <input-package> PLATFORM-SDK-OPTION? )
      adt -package SIGNING_OPTIONS? -target native SIGNING_OPTIONS? <output-package> ( <app-desc> FILE-AND-PATH-OPTIONS | <input-package> )
      adt -package SIGNING_OPTIONS? -migrate SIGNING_OPTIONS -target native SIGNING_OPTIONS? <output-package> <app-desc> FILE_OPTIONS PATH-OPTION
      adt -package SIGNING_OPTIONS? -target bundle SIGNING_OPTIONS? <output-package> ( <app-desc> FILE-AND-PATH-OPTIONS | <input-package> )
      adt -package SIGNING_OPTIONS? -target ane <output-package> <ext-desc> ANE_OPTIONS
      adt -prepare <airi-file> <app-desc> FILE_AND_PATH_OPTIONS
      adt -sign SIGNING_OPTIONS ( -target ( air | airn | ane ) )? ( <airi-file> | <unsigned-ane-file> ) <output-file>
      adt -devices          PLATFORM-OPTION PLATFORM-SDK-OPTION?
      adt -installRuntime   PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? ( -package <apk-file> )?
      adt -installApp       PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? -package <apk-file | ipa-file>
      adt -uninstallRuntime PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION?
      adt -uninstallApp     PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? -appid <app-id>
      adt -launchApp        { PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? ( -debuggerPort port )? -appid <app-id> }
      adt -runtimeVersion   PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION?
      adt -appVersion       PLATFORM-OPTION PLATFORM-SDK-OPTION? DEVICE-OPTION? -appid <app-id>
      adt -version
    SIGNING_OPTIONS      : -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -alias <aliasName> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )? ( -provisioning-profile <profile> )?
    FILE_OPTIONS         : <fileOrDir>* ( ( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ) )*
    ARCH_OPTIONS        : -arch (armv7 | x86)
    CONNECT_OPTIONS      : -connect <host>
    LISTEN_OPTIONS       : -listen <port>
    ANE_LINK_OPTIONS     : -hideAneLibSymbols ( yes | no )
    ANE_OPTIONS          : -swc <swc> ( -platform <name> (-platformoptions <file>)? <fileOrDir>* ( -C <dir> <fileOrDir>+ )* )*
    FILE-AND-PATH-OPTIONS: ( PATH-OPTION | FILE-OPTIONS ) FILE-AND-PATH-OPTIONS?
    PATH-OPTION          : -extdir <dir>
    PLATFORM-OPTION      : -platform (android | ios)
    PLATFORM-SDK-OPTION  : -platformsdk <platform-sdk-home-dir>
    DEVICE-OPTION        : -device ( deviceID | ios-simulator )
    AOT_MODE_OPTIONS     : -useLegacyAOT ( yes | no )

    Hi Nimisha1,
    I tried with both AIR 14.0 final release and also 14.0.125.
    I have a Mac (last version OS).
    With -arch armv7 I got the same error !
    With command line works !
    See the screenshoot of FB 4.7 customize launch:
    See the screenshoot of FB export error:

  • Error installing AIR application jledwardianadventcalendar.air

    Hi,
    I'm trying to install an AIR application but keep receiving the error message:
    "Sorry, an error has occured."
    "The application could not be installed because the installer file is damaged. Try obtaining a new installer file from the application author."
    I've uninstalled and reinstalled AIR.
    The installation log file follows:
      [2013-11-22:11:48:47] Application Installer begin with version 3.9.0.1210 on Windows Vista x86
    [2013-11-22:11:48:47] Commandline is: C:\Users\myname\Downloads\jledwardianadventcalendar.air
    [2013-11-22:11:48:47] Installed runtime (3.9.0.1210) located at c:\Program Files\Common Files\Adobe AIR
    [2013-11-22:11:48:48] Unpackaging file:///C:/Users/myname/Downloads/jledwardianadventcalendar.airto C:\Users\myname\AppData\Local\Temp\flaBD36.tmp
    [2013-11-22:11:49:02] Application signature verified
    [2013-11-22:11:49:02] Unpackaging/validation complete
    [2013-11-22:11:49:02] No app located for appID 'JLAdventCalendarEdwardian2013' and pubID ''
    [2013-11-22:11:49:06] Converting unpackaged application to a native installation package in C:\Users\myname\AppData\Local\Temp\fla5EA.tmp
    [2013-11-22:11:49:12] Native installation package creation failed: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: EndUpdateResource: Windows Error #5" errorID=0]
    [2013-11-22:11:52:34] Application Installer end with exit code 7
    Any help in 'decoding' this installation error message and guidance for a resolution is greatly appreciated.
    Regards,
    Mark

    I don't have an answer, just wanted to share your frustration. I'm running Windows Vista on a Toshiba Satellite with 40+GB free hard disk space and 2GB RAM so space is not the problem.  All updates have been made.
    My AIR log shows the identical error info. I have requested help from the application's author, which first suggested it was Firefox causing the problem, but downloading from Chrome and IE made no difference. Nor did reinstalling AIR.  A friend was able to download this app with no problem. And I was able to download the other (somewhat smaller) JL app with no problem, which really seems strange.
    Hoping someone here with more tech knowledge might be able to offer a suggestion.  If I get a helpful reply from the app author, I'll be sure to share it.

  • Packaging an AIR application in a native installer

    Hi! I'm trying to create a native installer of my AIR Application,  because (I think) it's the only way make the native processes working.  But I have a problem: I used the following command to pack: "adt  -package -storetype pkcs12 -keystore myCert.pfx -target native  -storetype pkcs12 -keystore myCert.pfx myApp.exe myApp-app.xml", but I get  the error: "File myApp-app.xml is not a valid AIRI or AIR file". In the  Flash Builder I use as additional compiler arguments:  "-locale=pt_PT,en_UK,fr_FR,de_DE,ro_RO,es_ES  -allow-source-path-overlap=true -source-path=assets" and I add the  source path "src/locale/{locale}/". What is the sintax for packing my  AIR application in a native installer? Thanks in advance.

    Hi again! Thanks for the reply. I based myself on the link to see what command syntax I should use to pack my Air Windowed Application and it was the command that I presented in the previous post.
    adt version "2.0.1.12090"
                                                  My Descriptor File
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
    <!-- Adobe AIR Application Descriptor File Template.
        Specifies parameters for identifying, installing, and launching AIR applications.
        xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.0
                The last segment of the namespace specifies the version
                of the AIR runtime required for this application to run.
        minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                the application. Optional.
    -->
        <!-- A universally unique application identifier. Must be unique across all AIR applications.
             Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
        <id>com.MyCompany.Application</id>
        <!-- Used as the filename for the application. Required. -->
        <filename>Production Control System</filename>
        <!-- The name that is displayed in the AIR application installer.
             May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <name>Production Control System</name>
        <!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
        <version>2.1.3</version>
        <!-- Description, displayed in the AIR application installer.
             May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <!-- <description></description> -->
        <!-- Copyright information. Optional -->
        <!-- <copyright></copyright> -->
        <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
        <!-- <publisherID>My Company</publisherID> -->
        <!-- Settings for the application's initial window. Required. -->
        <initialWindow>
            <!-- The main SWF or HTML file of the application. Required. -->
            <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
            <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
            <!-- The title of the main window. Optional. -->
            <!-- <title></title> -->
            <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
            <systemChrome>none</systemChrome>
            <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
            <transparent>true</transparent>
            <!-- Whether the window is initially visible. Optional. Default false. -->
            <!-- <visible></visible> -->
            <!-- Whether the user can minimize the window. Optional. Default true. -->
            <!-- <minimizable></minimizable> -->
            <!-- Whether the user can maximize the window. Optional. Default true. -->
            <!-- <maximizable></maximizable> -->
            <!-- Whether the user can resize the window. Optional. Default true. -->
            <!-- <resizable></resizable> -->
            <!-- The window's initial width in pixels. Optional. -->
            <!-- <width></width> -->
            <!-- The window's initial height in pixels. Optional. -->
            <!-- <height></height> -->
            <!-- The window's initial x position. Optional. -->
            <!-- <x></x> -->
            <!-- The window's initial y position. Optional. -->
            <!-- <y></y> -->
            <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
            <!-- <minSize></minSize> -->
            <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
            <!-- <maxSize></maxSize> -->
        </initialWindow>
        <!-- We recommend omitting the supportedProfiles element, -->
        <!-- which in turn permits your application to be deployed to all -->
        <!-- devices supported by AIR. If you wish to restrict deployment -->
        <!-- (i.e., to only mobile devices) then add this element and list -->
        <!-- only the profiles which your application does support. -->
        <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
        <supportedProfiles>extendedDesktop</supportedProfiles>
        <!-- The subpath of the standard default installation location to use. Optional. -->
        <!-- <installFolder></installFolder> -->
        <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
        <!-- <programMenuFolder></programMenuFolder> -->
        <!-- The icon the system uses for the application. For at least one resolution,
             specify the path to a PNG file included in the AIR package. Optional. -->
        <!-- <icon>
            <image16x16></image16x16>
            <image32x32></image32x32>
            <image48x48></image48x48>
            <image128x128></image128x128>
        </icon> -->
        <!-- Whether the application handles the update when a user double-clicks an update version
        of the AIR file (true), or the default AIR application installer handles the update (false).
        Optional. Default false. -->
        <customUpdateUI>true</customUpdateUI>
        <!-- Whether the application can be launched when the user clicks a link in a web browser.
        Optional. Default false. -->
        <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
        <!-- Listing of file types for which the application can register. Optional. -->
        <!-- <fileTypes> -->
            <!-- Defines one file type. Optional. -->
            <!-- <fileType> -->
                <!-- The name that the system displays for the registered file type. Required. -->
                <!-- <name></name> -->
                <!-- The extension to register. Required. -->
                <!-- <extension></extension> -->
                <!-- The description of the file type. Optional. -->
                <!-- <description></description> -->
                <!-- The MIME content type. -->
                <!-- <contentType></contentType> -->
                <!-- The icon to display for the file type. Optional. -->
                <!-- <icon>
                    <image16x16></image16x16>
                    <image32x32></image32x32>
                    <image48x48></image48x48>
                    <image128x128></image128x128>
                </icon> -->
            <!-- </fileType> -->
        <!-- </fileTypes> -->
        <!-- iPhone/iPad -specific capabilities -->
        <!-- <iPhone> -->
            <!-- A list of plist key/value pairs to be added to the application Info.plist -->
            <!-- <InfoAdditions>
                <![CDATA[
                    <key>UIDeviceFamily</key>
                    <array>
                        <string>1</string>
                        <string>2</string>
                    </array>
                    <key>UIStatusBarStyle</key>
                    <string>UIStatusBarStyleBlackOpaque</string>
                    <key>UIRequiresPersistentWiFi</key>
                    <string>YES</string>
                ]]>
            </InfoAdditions> -->
        <!-- </iPhone> -->
    </application>

Maybe you are looking for

  • Is it possible for ODi to do a "https post" of an xml file?

    Hi, We would like to use ODI to read from a VIEW and within ODI transform to a target using an XSD to generate an XML file and then do a HTTPS POST. Would be grateful for any pointers. we also ran into issues while transforming using a target xsd. Li

  • Enveloping using Seeburger adapter

    For the ones using Seeburger adapters... How are you coding you envelope tempate (ISA/GS envelope template) using Seeburger adapter as EDI tool. Do you code each and every one of your transaction type / trading partner? And how do you, for example, s

  • MIDI over direct USB connection between two computers?

    I'm trying to find out if it's possible to send MIDI between two computers using a direct USB to USB connection (no MIDI interface). I have not seen this done before, I don't think, but I don't know why it shouldn't be possible. Thanks for any tips o

  • About Report Builder

     I goes to report server URL and clicked on Report Builder. It downloaded a small ReportBuilder.exe file. When I tried to run that it showed me a following error. What is the problem here? nravhad

  • SpeakHere and Simulator not working

    I downloaded the SpeakHere app last night and tried running it with XCode 3.1.4 and Iphone Simulator 3.1 ( 139.1 ) on OSX 10.5.8. I can click the record button but I don't see any indication on the meter that it is receiving sound. I fired up garage