Skip navigation
simon_lucas
Currently Being Moderated

Problem with Air 2.5 update framework "Error ID: 0 unknown update version"

Jun 15, 2012 7:21 AM

OUTLINE

 

I am having an problem with v2.5 of the AIR update framework using the Adobe article linked below.

 

Building in Flash CS5.5

 

ERROR

 

The error printed in the example's UI is:

 

"Error ID: 0. unknown update version"

 

The error traced in Flash (5.5) with trace("onStatusUpdateError", event.errorID, event.subErrorID, event.text), is:

 

"onStatusUpdateError 16815 0 unknown update version"

 

 

 

Has anyone got this working with 2.5, or 2.6 please? I would be equally happy if someone showed it working in 3.x, too.

 

Thank-you

 

 

 

DETAILS

 


I am following the section on v 2.5 in this article:

http://www.adobe.com/devnet/air/articles/air_update_framework.html#art iclecontentAdobe_numberedheader_3

 

I have successfully use the v1.5 update framework as described in the article.

 

I have read about and used the Update descriptor file changes in the adobe article.

 

This is my descriptor file:

 

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

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

    <versionNumber>1.1.1</versionNumber>

 

 

    <url>http://www.spiralscratch.info/air_update/updater2/air_update_flash.air</url>

    <description><![CDATA[

This version has fixes for the following knowns issues:

*First issue

*Second issue  

  ]]></description>

</update>

 
Replies
  • Chris Campbell
    9,456 posts
    May 4, 2010
    Currently Being Moderated
    Jun 18, 2012 2:58 PM   in reply to simon_lucas

    I haven't run into this error before.  I'll forward this to the team that develops the updating framework for their review.

     

    Chris

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2012 6:43 AM   in reply to simon_lucas

    Hi Simon

     

    The error above suggests you might be using an applicationupdater.swc/swf that does not know about the 2.5 update namespace. If you are updating from an application already deployed with AIR 2.5 or later, you may be including the wrong version of the update framework in your project. Try getting the application updater swc from the AIR 2.5 or 2.6 runtime, and using that.

     

    If you already have an application out there, deployed with AIR 2.0 or earlier, which you want to update, you should follow the steps in this guide.

    http://helpx.adobe.com/air/kb/update-air-2-or-earlier.html

     

    Thanks,
    Horia

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 24, 2012 6:09 PM   in reply to simon_lucas

    I am having the same problem as simon_lucas although my config is slightly different:

    FlashBuilder 4 with SDK 4.6, Current app is with SDK 2.5.

    Trying to update with SDK 3.2, I double-checked per Horia Olaru that I do use the application updater swc:

             <path-element>D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0 - Air 3.2\frameworks\libs\air\applicationupdater.swc</path-element>

             <path-element>D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0 - Air 3.2\frameworks\libs\air\applicationupdater_ui.swc</path-element>

     

    But I still have the 16815 error.

    If I change the update.xml to be <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">

    instead of <update xmlns="http://ns.adobe.com/air/framework/update/description/3.2">, I am proposed to download the new app and then I get an error 16824.

     

    Please HELP!

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 24, 2012 11:19 PM   in reply to BreizhOReva

    You have to use the descriptor namespace 2.5. And make sure that the versionNumber contains a value higher than the previous version of your application, else, update will not work.

    Can you share the contents of your update descriptor(full) and your new app's application descriptor here(only the versionNumber,id and namespace elements of the application descriptor will do).

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points