Failed to launch! ApolloLaunchDelegate.fileDoesNotExist! in Flash Builder when debugging AIR applications

Hello world

I use flash/flex builder for years, but have never tried to create an AIR application before.  I tried to create a 'Hello' world app before wearing some of my stuff by following the instructions here:

http://help.Adobe.com/en_US/air/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118676a28bd-8000. HTML

"but when I try to debug the code, I get the a dialog box"Unable to launch"with the useless comment! ApolloLaunchDelegate.fileDoesNotExist!'.

I'm running win7x64, SDK 4.1

I tried all kinds of different files in the AIR, including the value by default when you create an empty project and the conversion of copies of some of my existing flex projects on the desktop, but they all give the same message.

Google does not help.  Any ideas would be welcome.

Kenneth

EDIT: just tried the same thing on my same version of flash builder on my laptop and it works... The laptop working Vistax64.  The only other different is that when I chose SDK 4.1 in the new project dialog box, he said, AIR 2.0, while on this machine, say, he needed air 1.5

Post edited by: kennethGilpin

Hello

You can check whether a SWF file has been generated in your bin-debug folder? Looking at the code FB, this happens when the SWF file does not exist. (Although I don't know why the error message is incorrect for you. Did pass you to FB 4 to 4.0.1 or are you on an own 4.0.1 install?)

Try to check your view of 'Problems' to see if there are any compiler errors.

Thank you

Rémy

Tags: Flash Builder

Similar Questions

  • Flash Builder 4.6 Mobile Application packaging and export

    Hi all

    I'm new to Flash builder, using Flash Builder 4.6 to develop an android application.

    She runs in office, no error occurs. But when I export it or try to run my

    Phone SAMSUNG GALAXY Y S5360 it does not work. This is the version Android is 2.3.6

    I plugged the USB with pc and tried to run the application on my phone.

    First ask that you want to install ADOBE AIR for device I select the option 'YES' then he go for 57% and show me an error

    Error occurred during the installation of the application: pkg:/data/local/tmp/Runtime.apk failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE] s 3261 KB/s (8653085 bytes in 2.333)

    And when I export and Release Build for .apk file. I select the Runtime in captivity.

    Then, it displays a message

    The package was created successfully, but the application could not be installed on one or more devices: device ID 0123456789ABCDEF(Google Android): problem occurred during the installation of ADOBE AIR.

    Please guide me...

    Thank you

    After a search on the internet and have hands on this problem, I finally found the solution.

    SAMSUNG Galaxy Y S5360 has 830 MHz ARMv6 CPU and minimum required the minimum system requirements for AIR 3.3 beta on Android:
    CPU: Processor ARMv7 with Vector FPU, Minimum 550 MHz, OpenGL ES2.0 H.264 & AAC H/W decoders OS: Android 2.2, 2.3, 3.0, 3.1, 3.2 & 4.0 RAM: 256 MB RAM

    Later, I used a Motorola mobile device with higher version my .apk file worked fine.

    Click here for Samsung Galaxy Y S5360 phone specification

    Thank you all for your efforts.

  • Impossible to install IPA using a standard package in Flash Builder 4.6 (Air 3.1)

    I created an application hello world that doesn't use any external resources (it draws just a box on the screen) and I can't seem to be installed in one of my iDevices (5G, iPhone 3GS, iPhone 4, iPod touch run all IOS 4 or above) using standard packaging in Flash Builder 4.6.

    When I try to install the IPA file using the iPhone Configuration utility it comes up with the error:

    "Could not install application on the device. Error: a signed resource has been added, changed, or deleted. »

    If I use the fast option in Flash Builder to package then I don't get any errors and the application installs works on all devices. The problem with this option is that I want to run performance tests and obviously using rapid option packaging not give me the actual data.

    I use Windows 7 for my development - I do not own a Mac.

    My certificates and provisions are very good because I double checked the.

    That's why others can get to work in Flash Builder 4.6 packaging standards (Air 3.1) on Windows 7? If Yes - can anyone suggest fixes for the please my problem?

    Just found the answer to this by experimentation.

    Its the iPhone Configuration Utility, which is the problem. If I use iTunes then packaging standard works. Do not know why the iPhone Configuration utility has a problem with the standard package, although

  • Flash Builder 4 and Adobe Application Manager

    I installed a trial version of Flash builder, but every time when I want to open/run it it gives me this error: "Adobe Application Manager is required to run this test, download Adobe Application Manager of www.dobe.com '... I searched for this download, but I can't. Can anyone please help, send me a link where I can download it, if I have to download to make it work.

    Try this (assuming you are using Win)

    -Download Fb Installer, locate the top-level folder containing set - up.exe

    -Now open the command prompt with ""run as Administrator " mode"

    -Go to the folder that contains the set - up.exe

    -Now, run the Set - up.exe - mode = 'silent' to repair Adobe Application Manager.

    If the problem persists, share newspapers %temp%/PDApp.log

  • Flash Builder compilation bug; What am I doing here?

    Hello

    I recently did a clean install of Windows, and as a result, Flash Builder.

    Now, whenever I try to compile _FOR_RELEASE_ against a good project, I get the below error.

    No error displayed when debugging.

    The project is good and of a long-established date codebase I've been working with for several years.

    HOW TO COMPILE?

    Thank you

    G

    The path location type Resource Description

    com.google.common.collect.ComputationException: java.lang.NullPointerException

    to com.google.common.collect.ComputingConcurrentHashMap$ ComputingSegment.compute (ComputingCo ncurrentHashMap.java:167)

    to com.google.common.collect.ComputingConcurrentHashMap$ ComputingSegment.compute (ComputingCo ncurrentHashMap.java:116)

    at com.google.common.collect.ComputingConcurrentHashMap.apply (ComputingConcurrentHashMap.jav one: 67)

    to com.google.common.collect.MapMaker$ ComputingMapAdapter.get (MapMaker.java:623)

    at com.adobe.flash.compiler.internal.projects.CompilerProject.getCacheForScope (CompilerProje ct.java:701)

    at com.adobe.flash.compiler.internal.definitions.InterfaceDefinition.resolveExtendedInterfac es(InterfaceDefinition.java:123)

    to com.adobe.flash.compiler.internal.definitions.InterfaceDefinition$ InterfaceIterator.analy ze(InterfaceDefinition.java:343)

    to com.adobe.flash.compiler.internal.definitions.InterfaceDefinition$ InterfaceIterator.initF romInterface(InterfaceDefinition.java:325)

    to com.adobe.flash.compiler.internal.definitions.InterfaceDefinition$ InterfaceIterator. < init > (InterfaceDefinition.java:293)

    com.adobe.flash.compiler.internal.definitions.ClassDefinitionBase.interfaceIterator (class DefinitionBase.java:399)

    at com.adobe.flash.compiler.internal.definitions.ClassDefinitionBase.isInstanceOf (ClassDefin itionBase.java:429)

    at com.adobe.flash.compiler.internal.semantics.SemanticUtils.isInstanceOf (SemanticUtils.java:565)

    at com.adobe.flash.compiler.internal.semantics.SemanticUtils.isValidTypeConversion (SemanticU tils.java:220)

    at com.adobe.flash.compiler.internal.semantics.SemanticUtils.isValidTypeConversion (SemanticU tils.java:342)

    at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkImplicitConver sion(MethodBodySemanticChecker.java:560)

    at com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkImplicitConver sion(MethodBodySemanticChecker.java:372)

    to com.adobe.flash.compiler.internal.semantics.MethodBodySemanticChecker.checkAssignment (Met hodBodySemanticChecker.java:244)

    at com.adobe.flash.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_assignToNameExpr _to_void_expression(ABCGeneratingReducer.java:3026)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.action_238(CmcEmitter.java:4509)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.dispatchAction (CmcEmitter.java:81 61)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent (CmcEmitter.java: 39704)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.dispatchAction (CmcEmitter.java:95 07)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent (CmcEmitter.java: 39704)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals (CmcEmitter.java:39 732)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent (CmcEmitter.java: 39703)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceSubgoals (CmcEmitter.java:39 723)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduceAntecedent (CmcEmitter.java: 39703)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.reduce(CmcEmitter.java:39681)

    at com.adobe.flash.compiler.internal.as.codegen.CmcEmitter.burm(CmcEmitter.java:39983)

    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateInstructions (ABCGenerat or.java:232)

    to com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction (a BCGenerator.java:397)

    to com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateMethodBodyForFunction (a BCGenerator.java:351)

    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generateFunction (ABCGenerator.j ava: 266)

    at com.adobe.flash.compiler.internal.as.codegen.ClassDirectiveProcessor.finishClassDefinitio n(ClassDirectiveProcessor.java:468)

    to com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareClass (Global DirectiveProcessor.java:424)

    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode (DirectiveProc essor.java:207)

    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse (DirectiveProcess or.java:189)

    to com.adobe.flash.compiler.internal.as.codegen.GlobalDirectiveProcessor.declarePackage (George alDirectiveProcessor.java:449)

    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.processNode (DirectiveProc essor.java:224)

    at com.adobe.flash.compiler.internal.as.codegen.DirectiveProcessor.traverse (DirectiveProcess or.java:189)

    at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:126)

    at com.adobe.flash.compiler.internal.units.ASCompilationUnit.handleABCBytesRequest (ASCompila tionUnit.java:374)

    at com.adobe.flash.compiler.internal.units.CompilationUnitBase.processABCBytesRequest (ationUnitBase.java:870 mix)

    to com.adobe.flash.compiler.internal.units.CompilationUnitBase.access$ 300 (CompilationUnitBas e.java:107)

    to com.adobe.flash.compiler.internal.units.CompilationUnitBase$ 4 1.call (CompilationUnitBase. java: 309)

    to com.adobe.flash.compiler.internal.units.CompilationUnitBase$ 4 1.call (CompilationUnitBase. java: 305)

    to com.adobe.flash.compiler.internal.units.requests.RequestMaker$ 1.call (RequestMaker.java:22 8)

    to com.adobe.flash.compiler.internal.units.requests.RequestMaker$ 1.call (RequestMaker.java:22 2)

    to java.util.concurrent.FutureTask$ Sync.innerRun (unknown Source)

    at java.util.concurrent.FutureTask.run (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.lang.NullPointerException

    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)

    at com.google.common.collect.CustomConcurrentHashMap.hash(CustomConcurrentHashMap.java:1432)

    at com.google.common.collect.ComputingConcurrentHashMap.apply (ComputingConcurrentHashMap.jav one: 66)

    to com.google.common.collect.MapMaker$ ComputingMapAdapter.get (MapMaker.java:623)

    at com.adobe.flash.compiler.internal.scopes.ASProjectScope.addScopeToCompilationUnitScopeLis t(ASProjectScope.java:1306)

    to com.adobe.flash.compiler.internal.projects.CompilerProject$ ScopeMakerFunction.apply (build lerProject.java:106)

    to com.adobe.flash.compiler.internal.projects.CompilerProject$ ScopeMakerFunction.apply (build lerProject.java:95)

    to com.google.common.collect.ComputingConcurrentHashMap$ ComputingSegment.compute (ComputingCo ncurrentHashMap.java:155)

    ... 54 PlayerSprite.as/RTE_OSMF_Player/src line 37 Flex problem

    Update; I updated the SDK to the current according to the guidelines of this https://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html

    It seems to have solved the problem for now. I'll watch it.

  • Flash Builder - launch failed

    Hello

    I am new to Flash Builder and Action Script so this may be something obvious to others...

    Flash Builder is not re - generate swf and html files in the Bin-debug folder and therefore fails with the message "unable to launch. Here are the steps to reproduce the behavior:

    • Using Flash Builder 4 on Vista
    • create the folder NomMonProjet
    • File-> new-> ActionScriptProject (provide NomMonProjet)
    • Project-> build the project (creates html and swf files in bin-debug correctly)
    • Go to Flash Debug perspective and start the debugger; Browse the 'empty' OK code
    • Close project, close Flash Builder
    • Add the code AS
    • Open Flash Builder
    • Refresh (F5) file system
    • Project build
    • The debugger steps as if the FORMER Action Script code is in the file!
    • Project and build own workspace
    • All bin-debug files are deleted, but are NOT re-created.
    • Launching fails (they are a no files in the bin-debug folder)

    I made sure that the ActionScript compiler settings are "checked" to generate wrappers, system restarted, looked at the process in Windows Task Manager, searched the web, but all to no avail. I am convinced that there must be something simple I'm missing preventing a good compilation of my project (unless there is a serious bug on a part of the Adobe...)

    A big thank you to all those who care for help!

    Nick

    Hello

    Can you check the view of problems (below) to see if there are compilation errors?

    Or you can edit your hand LIKE file here and we can take a look.

    Thank you

    Rémy

  • Export Flash Builder project FXP failed

    I upgraded from Flash Builder 4.5 to 4.5.1.  When I went to import my projects I was warned that the workspace was created in an earlier version of FB and what should I migrate a new 4.5.1 project workspace.  Instructions are here:

    http://kb2.Adobe.com/CPS/899/cpsid_89996.html

    Step 1, "Export the project as an FXP file" fails.  Dialog box looks like:

    error.png

    No further details.

    It does this whether or not "Validate project Compilation" is selected.

    So I shouldn't have launched projects in the workspace in the new version of FB, and I can't migrate projects to a new workspace in the new FB.  How to win here?  Errors do not appear anywhere?  That correct?

    Thank you

    You can send the error log (.log files), you can find in the .metadata folder in your workspace directory.

    Although the preferred method exports, as a solution, you can try to copy the projects from this workspace directory to the new directory of the workspace.

    Thank you

    -Sunil

  • Flash Builder 4.6 do not launch

    Just found out that Flash Builder 4.6 and 4.5 do not run. Flash Builder 4 is. Download the logo popping up, but nothing of loading. I would uninstall other versions, but I get an error when I go to my program settings and click on my package of CS.

    Any suggestions?

    UPDATE: I contacted Adobe yesterday and they had me do something that I thought not.

    Launch MSCONFIG

    On the Services tab click Hide all Microsoft services.

    Click on disable all buttons

    Restart your system

    Run Flash Builder (it has now begun)

    I closed Flash Builder and reentered MSCONFIG

    Uncheck Hide all Microsoft (if active) services

    Click activate all buttons

    Restart your computer

    Flash Builder still worked after that. Now, everything is good.

  • Update Flash Builder 4.5 Application SDK 2.6 automatic fails

    I developed some applications using Flex Builder 3 and have recently started using the Flash Builder 4.5 for my air applications-applications development. ApplicationUpdaterUI worked well in FB3, but now, in FB4.5, it fails with:

    [StatusUpdateErrorEvent (type = text = updateError updated unknown descriptor namespace id = 16815 + subErrorID = 0)]

    My reading of Application descriptor:

    < application xmlns="""http://ns.adobe.com/air/application/2.6""">


    So I changed my update descriptor in my Update.xml on server 1.0 (for FB3) to 2.6 as thus:

    " < day xmlns =" http://ns.Adobe.com/air/framework/update/description/2.6 ">

    It gives me the above error...

    If I change the descriptor of the update to 2.5 as thus:

    " < day xmlns =" http://ns.Adobe.com/air/framework/update/description/2.5 ">

    I get the following error:

    [StatusUpdateErrorEvent (type = text updateError = Application names and names of update descriptor are not compatible id = 16831 + subErrorID = 0)]

    I read in several forums that you need to switch the updater return descriptor 2.5 or even return to 1.0. I tried both of them, and it still does not work! Here is my update code. I just put this component flex on the status of my application is started. I think it's all is OK, but please fill me in if I am wrong...

    <? XML version = "1.0" encoding = "utf-8"? >

    < s:Group ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    " xmlns:s = 'library://ns.adobe.com/flex/spark"" "

    "" = xmlns:mx 'library://ns.adobe.com/flex/mx"width ="400"height ="32"" "

    creationComplete = "checkForUpdate ()"> "

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    import air.update.ApplicationUpdaterUI;

    import air.update.events.StatusUpdateErrorEvent;

    import air.update.events.UpdateEvent;

    import flash.events.ErrorEvent;

    import mx.controls.Alert;

    private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();

    private checkForUpdate() function :void{}

    appUpdater.updateURL = " ""http://test.example.com/root/updates/update.xml"""

    appUpdater.isCheckForUpdateVisible = false;

    appUpdater.addEventListener (UpdateEvent.INITIALIZED, onUpdate);

    appUpdater.addEventListener (ErrorEvent.ERROR, onError);

    appUpdater. addEventListener (StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateError);

    appUpdater.initialize ();

    }

    private function onError(event:ErrorEvent):void{}

    Alert.show (event.toString ());

    }

    private function onUpdate(event:UpdateEvent):void{}

    appUpdater.checkNow ();

    }

    private function onUpdateError(event:ErrorEvent):void{}

    Alert.show (event.toString ());

    }

    ]]>

    < / fx:Script >

    < / s:Group >

    And here's my update.xml...

    <? XML version="1.0" encoding="utf-8"?>

    < Update xmlns="""http://ns.adobe.com/air/framework/update/description/2.5""">

    < >version1.0.1< /version>

    < url > http:// test.example.com/root/updates/Application_1.0.1.air< /url>

    Description <> <! [CDATA [ ]]

    1.0.1 (20/07/2011)

    Test code update

    [[ ]] > < /> description

    < /update>


    Help, please!

    You must use

  • Flash builder 4 check load useful integerity: failed with code 1

    where to install flash builder 4 on windows 2003 32 x servers

    had this error

    ------------------------------------------------------------------------------------------

    Exit code: 7


    -------------------------------------- Summary --------------------------------------


    -0 fatal Error (s), 2 error (s), 2 warning (s)


    ATTENTION: Payload {7E5AA19B-0B85-4f44-BA26-728851489200} Adobe Flash Player 10 ActiveX is already installed and the payload of the session {5EE868D6-7B6B-49ee-AF60-09B1358AFFD7} Adobe Flash Player 10 ActiveX has no relationship between/conflict with it.


    ATTENTION: Payload {40F95A03-885A-45fb-9A14-486BEFEDDF34} Adobe Flash Player 10 Plugin is already installed and load the session useful {FB7F30B6-BFBF-4d2c-9F61-B5533659ACBE} Adobe Flash Player 10 Plugin has no relationship between/conflict with it.


    ERROR: Check the payload integerity: failed with code 1


    ERROR: Could not get the root of inChildPath
    ------------------------------------------------------------------------------------------ ------------

    who can help me, I will thank you very much

    Hello

    Please, deselect the option of Flash Player in Setup before you begin the installation and see if the installation is successful. (Please uninstall Flash Builder and restart the computer before trying to reinstall)

    If this does not help, please run the cleaning of CS5 with option to uninstall Flash player and FB, restart after having cleaned and now reinstall FB (selection also the Flash Player)

    CS5 tool can be downloaded from http://www.adobe.com/support/contact/cs5clean.html

    Please let us know if this helps you.

    Thank you

    Deeptika

  • Installation of Flash builder 4 has somehow broken my launch of running/debugging/profiling of flex builder 3.

    After installing Flash builder 4 neither to him nor to flex builder 3 has been able to launch flex swf:s. After hitting to run or debug flex gives a prompt saying "Flash Player is not found. Flex builder cannot locate the required version of Flash Player. You need to maybe install Flash Player 9 or reinstall Flex Builder. Do you want to try to run your application with the current version? ». The popup itself happened before the installation of flash builder 4. But normally I would hit just Yes and he would use any flashplayer is default.

    Now, if I click Yes it launch command prompt with a path to the installation folder of flex 3 Builder. When running flash builder 4, same happens except the path is the folder of installation of flash builder 4. Flex then begins waiting for connection of the debugger, and after awhile, he invites a timeout message. The title of command prompts is... \workspace\project\bin-debug\filename.swf.

    When you open the SWFs directly from windows, they open fine.

    I used the uninstaller for flash player software and recovered both fp9 & 10 and reinstalled the. That did not help. When we browser everything works fine, the problem occurs only when you launch standalone player. I tried to check the registry settings if there is something wrong, but all the flashplayers paths seem to be ok.

    Is there another hope to solve this problem than to reinstall flex builder 3 and flash builder 4 from scratch?

    You need content installed FP debugger

    http://www.Adobe.com/support/flashplayer/downloads.html download from here and install it and you should see the problem go away

    Download the Flash Player 10 ActiveX Windows control content debugger (for IE) (EXE, 2.03 MB)

  • Extension for CS 5, 6 and versions CC in Flash Builder 4.6 fails to initialize

    Hi all

    I develop an extension for Illustrator CS5, 6 and CC versions. I use the versions of Flash Builder 4.6 and Extension Builder 2.1. When I create a new project and add a minimal support for CS5, I am unable to view the design of the project resulting. I don't understand why. If I add a minimal help for CS6, design mode works very well. What is behavior?

    Also, I expect to use datagrid spark in my extension, it supports smooth scrolling. I'm not able to do the same, as the extension never initializes.

    Here's the screeshot of the compiler settings:

    issue1.jpg

    And here's what I get the error:

    issue.jpg

    What can I do to make my work?

    Hello

    Unfortunately, the Design view is completely unusable with the Extension Builder 3.4 needed to create a CS5 extension... So, you will see a black screen instead of your user interface. The only solution is to write your code and test. Previous versions of Extension Builder working on a previous version of Flash Builder and Design mode worked as expected...

    Best,

    Luca

  • Flash builder 4.6 or 4.5 launch in mountain lion

    Does anyone have any ideas on when they come to the top with an update? I really need to use Flash Builder, and I can't. Thank you.

    I had no trouble 4.6 or 4.7 beta running on Mt. Lion. Do you have

    installed Java yet?

    iBrent

  • Flash Builder fails to compile

    I'm trying to bug a project and using a lot of tracing instructions. To debug the file in a browser (Firefox) often don't re - compile with the result that the latest tracing statements are ignored. I tried my recent history of compensation, but it does not help. I use Flash Builder 4.6 on a Mac. Can anyone suggest a solution?

    Project-> Clean does the trick?

  • Flash Builder 4.5.1 - Air ApplicationUpdaterUI Auto Update fails

    I just reinstalled my FlashBuilder 4.5.1 and built a new HelloWorld application

    in order to test the SDK version 2.6 with the ApplicationUpdaterUI of the Air.

    I get no errors, but it will not be updated using namespace 2.6 in both - app.mxml and update.xml on the server.

    A stroke in the StatusUpdateEvent never appears in debug mode.

    The only window that opens is one asking to control upgrade?

    Pulling my hair - must be something obvious I am doing wrong here - can a new set of eyes with something?

    Main xml file:

    <? XML version = "1.0" encoding = "utf-8"? >

    " < = xmlns:fx s:WindowedApplication ' http://ns.Adobe.com/MXML/2009 "

    xmlns:s = "library://ns.adobe.com/flex/spark".

    xmlns:MX = "library://ns.adobe.com/flex/mx".

    creationComplete = "checkForUpdate()"; title = "Test Air Updater" >

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    Import air.net.URLMonitor;

    Import air.update.ApplicationUpdaterUI;

    Import air.update.events.StatusUpdateErrorEvent;

    Import air.update.events.StatusUpdateEvent;

    Import air.update.events.UpdateEvent;

    import flash.events.ErrorEvent;

    Import mx.controls.Alert;

    Import mx.events.CloseEvent;

    Import mx.events.FlexEvent;

    private const APP_VERSION_FILE:String = " " http://www.public-knowledge.com/Quest/timesheets/new_app_version.XML "; "

    private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();

    private function checkForUpdate (): void {}

    Add events

    appUpdater.addEventListener (UpdateEvent.INITIALIZED, onInitialized);

    appUpdater.addEventListener (StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateStatusError);

    appUpdater.addEventListener (StatusUpdateEvent.UPDATE_STATUS, updateStatusHandler);

    appUpdater.addEventListener (ErrorEvent.ERROR, onError); If something is wrong, run onError

    appUpdater.isCheckForUpdateVisible = true;

    appUpdater.isUnexpectedErrorVisible = true;

    appUpdater.isDownloadUpdateVisible = true;

    appUpdater.isDownloadProgressVisible = true;

    appUpdater.isInstallUpdateVisible = true;

    appUpdater.updateURL = APP_VERSION_FILE; XML file server that describes the update

    trace (APP_VERSION_FILE);

    appUpdater.initialize ();

    }

    private void onError(event:ErrorEvent):void {}

    Alert.Show ("ERROR:" + event.toString ());

    }

    private void onUpdateStatusError(event:StatusUpdateErrorEvent):void {}

    Alert.Show ("error checking for updates:" + event.toString ());

    }

    private void onInitialized(event:UpdateEvent):void {}

    trace ("check for updates...");

    appUpdater.checkNow ();

    }

    private void updateStatusHandler(event:UpdateEvent):void {}

    var descriptor: XML = NativeApplication.nativeApplication.applicationDescriptor.

    var ns:Namespace = descriptor.namespaceDeclarations () [0];

    var verNum:String = descriptor.ns::versionNumber;

    trace ("update event reached...'");

    }

    []] >

    < / fx:Script >

    < s:TitleWindow = "63" x y = "35" width = "250" height = "200" title = "Hello" >

    < s:Label x = '24' y = '80' text = "Hello World" / >

    < / s:TitleWindow >

    < / s:WindowedApplication >

    -App.MXML file: (first part)

    <? XML version = "1.0" encoding = "utf-8" standalone = 'no '? >

    " < application xmlns =" http://ns.Adobe.com/air/application/2.6 ">

    <!-adobe AIR Application Descriptor File Template.

    Specifies the ID setting, installation and launch AIR applications.

    xmlns - The Adobe AIR space of names: http://ns.Adobe.com/air/application/2.6

    The last segment of the namespace specifies the version

    the runtime AIR required to run this application.

    minimumPatchLevel - the level of minimum patch of the AIR runtime required to run

    the application. As an option.

    ->

    <!-a universal identifier unique application. Must be unique across all AIR applications.

    By using a reverse DNS type name as id is recommended. (For example. com.example.ExampleApplication.) Mandatory. ->

    CA.questgeomatics.testairapp < id > < /ID >

    <!-used as the application file name. Mandatory. ->

    < file_name > TestAirUpdater < / name of the file >

    <!-the name that is displayed in the AIR application installer.

    Can have multiple values for each language. See the sample or the schema xsd file. As an option. ->

    < name > TestAirUpdater < / name >

    <! - a string value in the format < 0 - 999 >. < 0-999 >. <>0-999 that represents the version of the application that can be used to verify the upgrade request.

    Values can also be parts 1 or 2 items. It is not necessary to have a value of 3 parts.

    A version update of application must have a versionNumber value greater than the previous version. Required for namespace > = 2.5. ->

    < versionNumber > 1.0.0 < / versionNumber >

    <!-a string value (e.g. "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be displayed to users. As an option. ->

    < versionLabel > v 1.0.0 < / versionLabel >

    File XML updater (new_app_version.xml):

    <? XML version = "1.0" encoding = "utf-8"? >

    " < day xmlns =" http://ns.Adobe.com/air/framework/update/description/2.6 ">

    < versionNumber > 1.0.1 < / versionNumber >

    < versionLabel > v 1.01 < / versionLabel >

    < url > http://www.public-knowledge.com/Quest/timesheets/TestAirUpdater.air < / url >

    < description > <! [CDATA]

    * First official release this update feature automatic implemements

    []] > < / description >

    < / update >

    Versions of descriptor bolded appl Post edited by: DonMitchinson

    Update - don't know if it's a bug, faulty design, installation problem or my misunderstanding.

    I managed to do it working first changing that my Flex library to 4.5.0 - still did not work with current

    App and update files mxml by using "2.6" for their versions of namespace. But I did at least

    get the error number 16815 - indicating an error in the namespace version update of popup.

    Leaving my namespace application version to "2.6" and by changing the "2.5" updated version... bingo!

    I got my new autiomatically installed update.

    Is it so it is supposed to work - or my runtimes are mixed?

    It even will work using the Flex SDK 4.5.1? I'll soon find out

    Hope this helps others.

Maybe you are looking for