Skip to main content
Participant
April 11, 2013
Question

Air 3.7 for Flex on mac

  • April 11, 2013
  • 3 replies
  • 1244 views

It sounds so simple and probably should be, but I just spend 3 hours trying to get the most basic setup running and I'm lost in the mess Adobe created. I followed a couple of tutorials and documents but none seem to be working.

All I want is to generate a Flex for mobile project with the latest Air 3.7 SDK.

  • I tried steps to replace the airsdk that is now deeply hidden in flashbuilders eclipse folders. That only allowed me to create an actionscript for mobile project with 3.7, but not a Flex project.
  • I tried to download the Air sdk that supposed to be for flex developers (http://airdownload.adobe.com/air/mac/download/latest/AdobeAIRSDK.tbz2). I overlayed these files into an existing Flex 4.6.0 folder. The result was that Flashbuilder didn't recognize the folder as a Flex SDK anymore.

I tried the latter step on a PC and it work so far that I can compile and debug flex for mobile apps on the ipad (with fast mode). Standard mode and export release build end in an never ending packaging process (1.5 hours now for a hello world app and still at 0%)

Any help would be much appreciated. Thank you

This topic has been closed for replies.

3 replies

Participating Frequently
April 15, 2013

Hi,

The Apache Flex project has a few scripts that will help you on OSX.

This will dowload and check the MD5 hashed of all playerglobal.swcs into a Flex SDK.

http://svn.apache.org/viewvc/flex/sdk/branches/develop/ide/checkAllPlayerGlobals.sh?view=markup

This will download and inject any version of the AIR SDK into a Flex SDK.

http://svn.apache.org/viewvc/flex/sdk/branches/develop/ide/addAIRtoSDK.sh?view=markup

The latest versions in the Git develop branch support AIR 3.7 (but harder to provide links to - sorry).

Thanks,

Justin

Participant
April 11, 2013

The mistake I made was to copy the files from the AIRSDK into the Flex SDK folder. This will work on a PC, but the macOS Finder does not merge folders as expected and eventually files get deleted.

The correct way to merge the folders is to use recync as explained in this post http://stackoverflow.com/questions/10975151/use-adobe-air-3-3-sdk-with-flash-builder?rq=1

Still, a user experience that leaves a lot to be desired...

Inspiring
April 11, 2013

More elegant solution for Mac users:

ditto <AIR_SDK_Folder> <Flex_SDK_Folder>