The instructions below reference specific versions of the Flex and AIR SDKs: Flex SDK 4.6.0 and AIR SDK 3.4. The instructions, however, are general. You can follow these instructions to overlay any version of the AIR SDK on any version of the Flex SDK.
If the Flex SDK is newer than the AIR SDK, it can rely on AIR functionality that isn't present, resulting in compile-time or runtime errors.
Download the appropriate AIR SDK file for your operating system from www.adobe.com/products/air/sdk/, and save it to the root directory of the Flex SDK.
Mac OS: AIRSDK_Compiler.dmg
Extract the contents of the AIR SDK archive and overwrite the existing SDK files.
Windows: Right-click the ZIP file and select Extract All, or use a decompression tool of your choice.
Mac OS: In Terminal, run these commands:
- hdiutil attach AIRSDK_Compiler.dmg
- cp -rf /Volumes/AIR\ SDK/* /path-to-empty-FLEXSDK-directory
If you have trouble overwriting files due to file permissions, try these commands:
- sudo hdiutil attach AIRSDK_Compiler.dmg
- sudo cp -rf /Volumes/AIR\ SDK/* /path-to-empty-FLEXSDK-directory