6 Replies Latest reply: Jan 18, 2013 10:29 AM by DachFlach RSS

    How to install AIR SDK 3.1 ( with 3.4 installed )

    DachFlach Community Member

      I am trying to install a previous version of the SDK    3.1

      I am doing this to accommodate BlackBerry BB10.

       

      Using the Manage SDK utility in Flash CS6, I currently have installed 3.2 and 3.4.

      When I try to install 3.1 I first get the error that the version of the sdk I am trying to install is not valid.

      Ok, I got around this by placing an  airsdk.xml  file in the SDK directory. Because the Archived 3.1 SDK from Adobe did not have one..  but 3.2 and 3.4 do.

       

      Ok, not I get the error  that Only SDK higher than version 3.4.2540 may be added.

       

      So what..  now I cannot add earlier versions?

       

       

      Please..  how do I add AIR SDK   3.1 as option for usage in Flash Pro CS6  ?

        • 1. Re: How to install AIR SDK 3.1 ( with 3.4 installed )
          JasonT33

          Were you ever able to figure this out? I've spent a bunch of time trying the same thing...

          I still can't get Air 3.1 to work in Flash CS6...

           

          Any help would be appreciated.

          • 2. Re: How to install AIR SDK 3.1 ( with 3.4 installed )
            DachFlach Community Member

            I managed, with some fighting, to get an AIR 3.1 SDK installed.

            I added a descriptor in the C:\Program Files (x86)\Adobe\Adobe Flash CS6\Common\Configuration\Players folder.

            I am not sure if it was needed but I temporarily disable the 3.4 version and added the 3.1 in the Manage SDK utility.

            I added 3.4 back afterwards.

            • 3. Re: How to install AIR SDK 3.1 ( with 3.4 installed )
              JasonT33 Community Member

              Thanks for the reply.. Glad to hear that you got it...

               

              I've followed your advise and gave it a try... But I'm still stumped...

               

              Would you be able to share the descriptor code you used or point me in the right direction as to where I can find it?

               

              I moved the the "default |blackberry-sdk-descriptor.xml" into the Common/Players folder but flash gave me the error:

               

              "Line 1: A ‹players› element was expected

                <sdk>"

               

              Also, disabling the AIR 3.4 makes total sense but how?

               

              Hopefully you have a moment to help out.. it would be huge.

               

              Shocked that more people are not also experiencing the same problems here with Blackberry SDK and Flash CS6.

               

              Thanks for your help.

              • 4. Re: How to install AIR SDK 3.1 ( with 3.4 installed )
                DachFlach Community Member

                Hi Jason..  try the following..  but be warned. I made this up as i went along, so no promises.

                I am not even entirely sure this did the trick.

                That said, I have suffered no ill effect from this.

                 

                Duplicate an existing AIR xml file from that directory ( example: AdobeAIR2_5.xml ).

                Name it AdobeAIR3_1.xml

                Change the first lines to:

                 

                <players>

                  <player id="AdobeAIR3_1" version="14" asversion="3" minasversion="3">

                    <name>AIR 3.1</name>

                    <publishobject2 id="Air_Desktop_iOS" version="3.1" intversion="3.1"></publishobject2>

                 

                 

                Then try to add 3.1 via the Manage SDK Utility.

                If you cannot, remove the 3.4 folder ( rename it ).

                Then restart Flash, run the utility again and it should not have 3.4 anymore..  scared yet?

                Then try to add 3.1 again.

                If it works..  then I am surprised two times now!

                Then add 3.4 again.

                 

                I repeat - this was a hack I was desperate to try and might have gotten lucky.

                There Hopefully, will be someone, one day, who will give both of us more sound advice.

                 

                I can however, now create workable BB10 and PlayBook apps from my SDK 3.1 in Flash.

                 

                I wonder if you and I are in a limited group because we happened to Not have installed 3.1 when it came out.

                Leaped from 2.5 to 3.2  maybe.

                 

                Good luck!

                • 5. Re: How to install AIR SDK 3.1 ( with 3.4 installed )
                  jimgoogles Community Member

                  I am about to do this as well.  Just curious Jason - did you try DachFlach's instructions and did it work for you?

                  • 6. Re: How to install AIR SDK 3.1 ( with 3.4 installed )
                    DachFlach Community Member

                    I am wondering if anyone has tried this and had success?

                    It has been working for me for three months now.