Sorry, there are a couple spaces in the commands that could mess you up. Here are the corrected commands, note that AIRSDK_Flex_MacOS is the directory created by double clicking the zip file.
> cp -rf ~/Downloads/AIRSDK_Flex_MacOS/* ~/SDK4.16.1-H33.1.1.86 There was a space in the SDK path in my first post. Here is the corrected version just in case, but you'll use your own naming convention I'm sure. In ~/.bash_profile (create the file if it doesn't exist, or edit ~/.profile instead: export FLEX_HOME=~/SDK4.16.1-H33.1.1.86 On 7/16/20, 10:18 AM, "Erik Thomas" <e...@linqto.com> wrote: It's not difficult to do this. Here are simple instructions for Mac. BTW, you don't need airHome (see FLEX_HOME below). The key here is to NOT use Finder to copy the AIR SDK over the Flex SDK. Doing that will end up with build errors for reasons I don't understand. Just use the command line for the copy -rf and it will work fine. 1. Install the Flex 4.16.1 using the installer and keep a copy of it for overlaying with newer versions of AIR. 2. Create a folder for the new combined SDK. Mine is named like this: ~/SDKs/SDK4.16.1-H33.1.1.86 ...where the Flex SDK version is 4.16.1, H33 is Harmon AIR SDK version 33, and 1.1.86 is the build number since Harmon releases new builds of the 33 version. I am at 86 since it works for me and when it comes to AIR SDKs, so many things seem to get busted with new releases, I stick with what works and upgrade only when necessary. But you need 33 to get past lots of breakage in 32. I name the folder with the full build number because I may have to roll back to using a previous build if I run into troubles. 3. Copy the Flex 4.16.1 backup SDK to the new folder. 4. Download the AIR SDK zip file from Harman: https://airsdk.harman.com/download 5. Save the zip file to downloads or a temp location. 6. Unzip the file by double-clicking it in Finder. 7. In the terminal (shell), execute these commands (assuming your AIR SDK is unzipped and in ~/Downloads/airsdk): > cp -rf ~/Downloads/airsdk /* ~/SDK4.16.1-H33.1.1.86 8. Update FLEX_HOME env var to the new SDK path by editing your ~/.profile or ~/.bash_profile: > open -e ~/.bash_profile 9. Add this line: export FLEX_HOME=~/ SDK4.16.1-H33.1.1.86 10. Restart your IDE and any open terminal windows to "get" the FLEX_HOME env var which is used by ADT and ant if you do any command line builds. 11. Switch to the new SDK in your IDE project and/or modules, any build scripts (if you automate builds) your app descriptor swf version, etc. Any time you get a new AIR SDK just use the Flex 4.16.1 SDK you saved and put it into a new folder and follow the directions above. I have been doing it this way for years, though they changed slightly since Harman took over (just the SDK location and the fact it's a zip file).