Skip to main content
Inspiring
September 23, 2013
Question

How to install Air 3.9 SDK into FB 3.7

  • September 23, 2013
  • 1 reply
  • 8706 views

I cannot understand why Adobe doesn't make installers to update the SDK's more automatically. I have broken apps because of iOS 7, and must use the 3.9 AIR SDK to fix this problem, and resubmit my apps. What is so frustrating is to download the 3.9 Beta SDK, but have no clear instructions on how to install it into FB 3.7. Why isn't there an installer? How can a company with the massive brainpower of Adobe be incapable of writing an installer that figures out where to put the SDK?

In my FB preferences panel, under "installed AIR SDK" the field is read-only. And it refers to a folder AIR SDK  location: /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK .

And if I am just make AIR apps, do I need to be concerned with Flex? Is flex somehow related to making iOS and Android Apps in AIR? The relationship of Flex is so murky.

Do i do an overly into the 4.6 folder ?

Is there a newer version of FB yet?

This topic has been closed for replies.

1 reply

Participant
October 1, 2013

I have wasted a whole day trying to update FB 4.7 to AIR 3.9 on Mac. I have replaced the files in the /eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK folder but the files in the /sdks/4.6.0/ folder still show the AIR 3.1 (???) version. It's like FB doesn't even care about what AIR version is in the AIRSDK folder (currently the default 3.4 version is in there) because I can only compile my project with xmlns="http://ns.adobe.com/air/application/3.1" in the app xml file.

I have also tried overriding the files in the /sdks/4.6.0 folder with the latest air 3.9 for flex files, but this leads to not even being able to add this sdk in flash builder (it gives me a "can't find flex sdk" kind of error).

Can someone please tell me what I am doing wrong?

Adobe Employee
October 1, 2013

Below are steps to overlay AIR SDK into FB4.7

1. Exit Flash Builder. 

2. Back up the AIR SDK availabe at Application/FB4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.3497 22/ by copying the entire directory and rename it to something AIRSDKversion. Now, you have two folder AIRSDK(default one) and AIRSDKversion(copied one).

3. Download the appropriate AIR SDK file for your operating system e.g. http://www.adobe.com/devnet/air/air-sdk-download.html unzip and save it on your MAC OS X.

4. On Terminal, run the below command

sudo ditto /path/air3-9_sdk_sa_mac /Applications/Adobe\ Flash\ Builder\ 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK

/path/air3-9_sdk_sa_mac -> path where you downloaded the AIR SDK

/Applications/Adobe\ Flash\ Builder\ 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK -> path where you overlay the new AIR SDK

5. (Optional) To access the new AIR 3.9 APIs, update your application descriptor file to the 3.9 namespace.

To update the namespace, change the xmlns attribute in your application descriptor to: <application xmlns="http://ns.adobe.com/air/application/3.9">

6. (Optional) To ensure that the output SWF file targets SWF version 22, pass an additional compiler argument: -swf-version=22.

Hope this will help.

Regards,

Nimit

Participant
October 2, 2013

Hey Nimit,

Thanks for the reply. I have already tried doing that but my problem is with the /Flash Builder 4.7/sdks/4.6.0/ folder. The files there still have the air 3.1 version and I cannot update the namespace to anything higher than that. I tried using the AIR 3.9 sdk for flex developers to replace those files but it won't work at all (I can't even add that sdk in flash builder).

Any idea what's wrong? thanks.