1 Reply Latest reply: Mar 6, 2009 6:41 AM by gianiaz RSS

    error #16820 on update

    Community Member
      Hi, I'm trying to learn how to use the application updater framework.

      I'am starting from here:

      http://www.adobe.com/devnet/air/ajax/quickstart/update_framework.html

      I've changed urls in the src/config/update-config.xml, and when I click on the "check for update" button, the app find a new version, but when I click on download a receive the error in subject.

      Googling around I found some suggestions, I've tried adding the mime-type "application/octet-stream" for .air files on my web server but didn't solved, any suggestion?

      Thank you
        • 1. Re: error #16820 on update
          Community Member
          I did a step ahead and 2 step back. :-(

          The previous error was simply caused by a typo in the url of the new version air file.

          Now I'm tryng to do the same thing the sample application does on my app.

          I've included the swf file "applicationupdater_ui.swf", I've Inserted at the top of the file :

          appUpdater = new runtime.air.update.ApplicationUpdaterUI();
          appUpdater.configurationFile = new air.File("app:/defaults/updates-config.xml");
          // appUpdater.initialize();
          appUpdater = new runtime.air.update.ApplicationUpdaterUI();
          appUpdater.configurationFile = new air.File("app:/defaults/updates-config.xml");
          appUpdater.initialize();
          If I remove the comment on the third line I got this error:

          ReferenceError: Error #1069: Property mx.resources:IResourceManager::initializeLocaleChain not found on mx.resources.ResourceManagerImpl and there is no default value.

          at mx.managers::SystemManager/installCompiledResourceBundles()

          at mx.managers::SystemManager/ http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

          Any help? Thank you