• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

FB 4.0.1 and Air App - Application Descriptor Namespace

Contributor ,
Aug 13, 2010 Aug 13, 2010

Copy link to clipboard

Copied

Just updated to FB 4.0.1 because it now includes Adobe Air 2.0.2 but I can't figure out

why it throws an error now from the Air ApplicationUpdater

I changed my project to use the new flex sdk 4.1.0 and everything compiles fine

but I starting the app it throws an Air ApplicationUpdater error after going into function called

from applicationComplete event. Error message is:

Error Checking For Update: [StatusUpdateErrorEvent (type=updateError text=unknown update version id=16815 + subErrorID=0)]

My app xml namespace doesn't seem to matter - it always generates error but it is currently

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

Basic code:

     private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();

     private function checkForUpdate():void {

          setApplicationVersion(); // Find the current version so we can show it below

          appUpdater.updateURL = XML_UPDATE_FILE; // Server-side XML file describing update

          appUpdater.isCheckForUpdateVisible =

false; // We won't ask permission to check for an update

          appUpdater.addEventListener(UpdateEvent.INITIALIZED, onUpdate);

          appUpdater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateStatusError);

          appUpdater.addEventListener(ErrorEvent.ERROR, onError);

          // If something goes wrong, run onError

     }

    

     private function onError(event:ErrorEvent):void {

          Alert.show(event.toString());

     }

     private function onUpdateStatusError(event:StatusUpdateErrorEvent):void {

          Alert.show(

'Error Checking For Update: ' + event.toString());

     }

     private function onUpdate(event:UpdateEvent):void {

          appUpdater.checkNow();

          // Go check for an update now .checkNow

     }

Anyone know how to fix this error or why it is being generated?

Thanks for any any suggestions.

Don

Views

779

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

Check if manually specifying the publisherid helps:

http://gregsramblings.com/2010/06/18/adobe-air-common-auto-upgrade-issues-when-upgrading-your-app-to-air-2-0/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Aug 17, 2010 Aug 17, 2010

Copy link to clipboard

Copied

LATEST

Thanks I'll give it a shot. Appreciate the suggestion.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines