Skip to main content
Participating Frequently
June 4, 2013
Answered

How to use AIR SDK 3.8 with Flash Builder 4.6 ?

  • June 4, 2013
  • 1 reply
  • 12870 views

Until now i was using AIR SDK 3.6 with Flash Builder 4.6 on mac OS X, with known method of "rsyncing" new sdk files, and patching the config xml-s, but now i downloaded the new SDK 3.8 beta, because i wanted to upgrade, and that method fails. For a new Flex Mobile project i get the compile error "Could not resolve <s:TabbedViewNavigatorApplication> to a component implementation, Flex problem" ...

I see on AIR SDK download page http://labs.adobe.com/downloads/air.html there are two versions of SDK, one is with the compiler 2.0 one is for Flex users ... What I'm supposed to download and upgrade with Flash Builder 4.6 ??

Can this new SDK even be used on FB 4.6 ? or is only supported for FB 4.7 ?

Thank you.

This topic has been closed for replies.
Correct answer nimitja

You can use  http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-8_sdk_sa_mac.tbz2 with FB 4.6. Below are the steps to overlay the sdk

1. Exit Flash Builder. 

2. (Optional) Back up the Flex SDK by copying the entire directory.

    In Flash Builder, for example, copy the directory at:

  • Mac OS: /Applications/Adobe Flash Builder 4.7/sdks/4.6.0

3. Download the appropriate AIR SDK file for your operating system e.g. http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-8_sdk_sa_mac.tbz2,  unzip and save it on your MAC OS X.

4. In Terminal, run the below command

sudo ditto /path/air3-8_sdk_sa_mac /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0

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

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

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

Hope this will help.

Regards,

Nimit

1 reply

nimitjaCorrect answer
Adobe Employee
June 5, 2013

You can use  http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-8_sdk_sa_mac.tbz2 with FB 4.6. Below are the steps to overlay the sdk

1. Exit Flash Builder. 

2. (Optional) Back up the Flex SDK by copying the entire directory.

    In Flash Builder, for example, copy the directory at:

  • Mac OS: /Applications/Adobe Flash Builder 4.7/sdks/4.6.0

3. Download the appropriate AIR SDK file for your operating system e.g. http://labsdownload.adobe.com/pub/labs/flashruntimes/air/air3-8_sdk_sa_mac.tbz2,  unzip and save it on your MAC OS X.

4. In Terminal, run the below command

sudo ditto /path/air3-8_sdk_sa_mac /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0

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

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

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

Hope this will help.

Regards,

Nimit

Participating Frequently
June 5, 2013

That is a go Now i'm able to target 3.8, thank You, i really appreciate it. I did something similar but i messed up with the wrong SDK download.

Participant
June 13, 2013

Hi,

I am renting a mac in the cloud, and trying to do the same thing. I am having trouble with changing the directory to the sdk dir in Terminal. After I cd to Applications, I tried cd to Adobe_Flash_Builder_4.7 and all sorts of other combinations to no avail. Is it possible it is blocked by the host? Can you tell me exactly what you type in terminal to go to the sdk dir pls?

Thanks