3 Replies Latest reply on Mar 6, 2012 8:45 AM by sinious

    trying to make world's simplest air app, but it won't build

    nolty

      Hi all --

       

      I'm trying to make my first AIR project in Flash Professional -- I've made AIR projects before using Flex.  However, I'm dead before I even get started.

       

      I'm getting "Application descriptor file cannot be parsed" before I've done anything -- see screencast at http://screencast.com/t/NUnfPund0dy.  I've spent several hours trying various dialog boxes within Flash to change air/publish settings, editing XML file by hand, trying to launch things using AIR SDK outside of Flash, googling for something similar, but I can't seem to come up with anything that works.  I'm curious if other people follow the steps I followed in the screencast if they get different results.  I think they must, as I'm just following the first couple of steps from http://help.adobe.com/en_US/flash/cs/using/WSF0126B20-BFF4-4c50-9978-BCA47C8C3C3F.html.

       

      My product is Flash Professional CS5.

       

      If anyone can figure out what's going wrong I will be grateful.

       

      Bob

       

      P.S. It seems to me like this kind of issue should qualify for $39 incident support (or even free support if it turns out to be a bug or documentation error), but Adobe tells me I have to give them $250 for developer support before they will help me.  Grr.

        • 1. Re: trying to make world's simplest air app, but it won't build
          sinious Most Valuable Participant

          You're using Flash CS5 so you're only going to be able to compile for iOS. CS5.5 outputs AIR for iOS and AIR for Android as well as Blackberry Tablet (FB).

           

          Make sure you've overlayed the latest AIR 3.1 SDK on your version of flash and your CS5 is up to date.

           

          Going the AIR route or using Flash Builder (or elipse fdt for free) will be a better albit more complex route but will yeild far better results. The only thing CS5 is really good for is it does not use AIR therefore apps can be built for 3g devices. However most of the things you care about are in AIR (GPU accel video, etc) and you'd be doing yourself a favor to update to Flash Builder.

           

          You can still use Flash CS5 to craft your assets in the library. Then you simply export a SWC of them and reimport into Flash Builder and code it from there.

           

          FWIW I never had your issue in Flash CS5 when I just started dabbling with iOS apps.

          • 2. Re: trying to make world's simplest air app, but it won't build
            nolty Level 1

            Thanks -- can you tell me what you mean by this:

             

            "Make sure you've overlayed the latest AIR 3.1 SDK on your version of flash"

             

            ?

             

            I'm also confused by, "The only thing CS5 is really good for is it does not use AIR."

             

            BTW I am developing for WIndows desktop, not for phones.

             

            Thanks!

            • 3. Re: trying to make world's simplest air app, but it won't build
              sinious Most Valuable Participant

              Ah desktop.

               

              Anyhow to overlay air please follow the directions in this link. That will update the AIR in Flash CS5.5 to the latest release version. If seems like a hassle but once you've done it it's a cinch to do it again and again as new AIR releases come out.

               

              Disregard the CS5 comment versus CS5.5 as it doesn't make a huge difference to AIR Desktop. Only AIR Mobile.