Skip to main content
Participating Frequently
April 27, 2011
Question

application update problem after switching to air 2.6 sdk

  • April 27, 2011
  • 2 replies
  • 5696 views

Hello all,

Until now I compiled my air app with the Air 2.5 sdk.

Accordingly, my update.xml file used the following namespace: <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">

And the adobe update mechanizem worked great!

Now I want to switch to Air 2.6 sdk.

My compilation works, but when I switch the namespace to: <update xmlns="http://ns.adobe.com/air/framework/update/description/2.6">

I don't get an update.

When I ran the application in debug mode (FB4), I noticed the following error in my console: "updater error unknown update descriptor namespace".

Why does is not recognze the 2.6 namespace? Can anyone think of a reason for why this happens?

p.s

If I switch the namespace back to 2.5, I get the update window, but it fails to update (understood since the app is now compiled with the 2.6 sdk)

This topic has been closed for replies.

2 replies

June 8, 2011

I am alos having same problem.. update manager not working for 2.6 descriptor... it was fine up to 2.5 any idea...?

chris.campbell
Legend
June 9, 2011

Shiju Varkey wrote:

I am alos having same problem.. update manager not working for 2.6 descriptor... it was fine up to 2.5 any idea...?

Hi Shiju,

Did the steps and documents that I referenced in this post help you at all?

http://forums.adobe.com/message/3653528#3653528

Chris

June 9, 2011

Hello chris..

i tried all the options as mentioned above .. but not working

also the urls you mentiond for reference---http://kb2.adobe.com/cps/873/cpsid_87300.html .....http://www.adobe.com/devnet/air/articles/air_update_framework.html#art iclecontentAdobe_numberedheader_4

not working now

any idea???

chris.campbell
Legend
April 27, 2011

I believe you'll want to keep your updater xml set to 2.5.  I'm using this on an app built with 2.6, though I admit that it took a bit of trial and error on my part.  What error message do you get when you do run against 2.5?  Do you mind posting the contents of your update.xml file?

Thanks,

Chris

dor_sakalAuthor
Participating Frequently
April 28, 2011

I get "Download failed" and "There was an error downloading the update. Error# 16824"

The update.xml (after I changed it back to 2.5 namespace):

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

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

<versionNumber>0.9.924</versionNumber>

<url>[url to product name]</url>

<description>

    <text xml:lang="en">

     [description...]

</text>

    <text xml:lang="ru">

</text>

    <text xml:lang="de">

</text>

    <text xml:lang="pt">

</text>

    <text xml:lang="cs">

</text>

</description>

</update>

What do you mean that it took some trial and error? how did you make it work?

And also, isn't this a bug? it makes sense to me that an app compiled with the 2.6 sdk will need the 2.6 namespace

dor_sakalAuthor
Participating Frequently
April 28, 2011

I just tested another scenario:

If I make another version of my app (with the 2.6 sdk) and update from the previous version of my app (also built with the 2.6 sdk), I update successfully (still when using the 2.5 namespace in the update.xml and not the 2.6... but whatever).

So it seems that the problem is updating from an app compiled with 2.5 sdk to one complied with the 2.6.

Could this be?!

I did not run into this problem when I updated my app from the 2.0 sdk to the 2.5 sdk.