Adobe Flash Platform tools for AIR development

You can develop AIR applications with the following Adobe Flash Platform development tools.

For ActionScript 3.0 (Flash and Flex) developers:

For HTML and Ajax developers:

Installing the AIR SDK

The Adobe AIR SDK contains the following command-line tools that you use to launch and package applications:

AIR Debug Launcher (ADL)
Allows you to run AIR applications without having to first install them. See AIR Debug Launcher (ADL).

AIR Development Tool (ADT)
Packages AIR applications into distributable installation packages. See AIR Developer Tool (ADT).

The AIR command-line tools require Java to be installed your computer. You can use the Java virtual machine from either the JRE or the JDK (version 1.5 or newer). The Java JRE and the Java JDK are available at http://java.sun.com/.

Note: Java is not required for end users to run AIR applications.

For a quick overview of building an AIR application with the AIR SDK, see Creating your first HTML-based AIR application with the AIR SDK.

Download and install the AIR SDK

You can download and install the AIR SDK using the following instructions:

Install the AIR SDK in Windows

  • Download the AIR SDK installation file.

  • The AIR SDK is distributed as a standard file archive. To install AIR, extract the contents of the SDK to a folder on your computer (for example: C:\Program Files\Adobe\AIRSDK or C:\AIRSDK).

  • The ADL and ADT tools are contained in the bin folder in the AIR SDK; add the path to this folder to your PATH environment variable.

Install the AIR SDK in Mac OS X

  • Download the AIR SDK installation file.

  • The AIR SDK is distributed as a standard file archive. To install AIR, extract the contents of the SDK to a folder on your computer (for example: /Users/<userName>/Applications/AIRSDK).

  • The ADL and ADT tools are contained in the bin folder in the AIR SDK; add the path to this folder to your PATH environment variable.

Install the AIR SDK in Linux

  • The SDK is available in tbz2 format.

  • To install the SDK, create a folder in which you want to unzip the SDK, then use the following command: tar -jxvf <path to AIR-SDK.tbz2>

For information about getting started using the AIR SDK tools, see Creating an AIR application using the command-line tools.

What's included in the AIR SDK

The following table describes the purpose of the files contained in the AIR SDK:

SDK folder

Files/tools description

BIN

The AIR Debug Launcher (ADL) allows you to run an AIR application without first packaging and installing it. For information about using this tool, see AIR Debug Launcher (ADL).

The AIR Developer Tool (ADT) packages your application as an AIR file for distribution. For information about using this tool, see AIR Developer Tool (ADT).

FRAMEWORKS

The libs directory contains code libraries for use in AIR applications.

The projects directory contains the code for the compiled SWF and SWC libraries.

LIB

adt.jar - The adt Java program, which is called by the adt script file in the AIR SDK bin directory.

RUNTIMES

The AIR runtimes for the desktop and for mobile devices.

The desktop runtime is used by ADL to launch your AIR applications before they have been packaged or installed.

The AIR runtimes for Android (APK packages) can be installed on Android devices or emulators for development and testing. Separate APK packages are used for devices and emulators. (The public AIR runtime for Android is available from the Android Market.)

SAMPLES

This folder contains a sample application descriptor file, a sample of the seamless install feature (badge.swf), and the default AIR application icons; see Distributing AIR packages for desktop computers.

TEMPLATES

descriptor-template.xml - A template of the application descriptor file, which is required for each AIR application. For a detailed description of the application descriptor file, see AIR application descriptor files.

Schema files for the XML structure of the application descriptor for each release version of AIR are also found in this folder.

Setting up the Flex SDK

To develop Adobe® AIR® applications with Adobe® Flex™, you have the following options:

  • You can download and install Adobe® Flash® Builder™, which provides integrated tools to create Adobe AIR projects and test, debug, and package your AIR applications. See Creating your first desktop Flex AIR application in Flash Builder.

  • You can download the Adobe® Flex™ SDK and develop Flex AIR applications using your favorite text editor and the command-line tools.

For a quick overview of building an AIR application with Flex SDK, see Creating your first desktop AIR application with the Flex SDK.

Install the Flex SDK

Building AIR applications with the command-line tools requires that Java is installed on your computer. You can use the Java virtual machine from either the JRE or the JDK (version 1.5 or newer). The Java JRE and JDK are available at http://java.sun.com/.

Note: Java is not required for end users to run AIR applications.

The Flex SDK provides you with the AIR API and command-line tools that you use to package, compile, and debug your AIR applications.

  1. If you haven't already done so, download the Flex SDK at http://opensource.adobe.com/wiki/display/flexsdk/Downloads.

  2. Place the contents of the SDK into a folder (for example, Flex SDK).

  3. Copy the contents of the AIR SDK over the files in the Flex SDK.

    Note: On Mac computers, make sure that you copy or replace the individual files in the SDK folders — not entire directories. By default, copying a directory on the Mac to a directory of the same name removes the existing files in the target directory; it does not merge the contents of the two directories.
  4. The command-line utilities are located in the bin folder.

Setting up Flash CS3 for Adobe AIR

The Adobe® AIR® Update for Adobe® Flash® CS3 Professional augments the Flash development environment with elements that allow you to build AIR applications with Flash. It lets you create, test, and debug AIR application files in Flash.

Both Adobe® Flash® CS4 Professional and Adobe® Flash® CS5 Professional have built-in support for creating AIR applications. For more information, see Publishing for Adobe AIR.

Note: The Adobe AIR Update for Flash CS3 supports AIR 1.0 and 1.1 and Flash Player 9.x. Flash CS4 is required to develop applications with AIR 1.5.x and Flash Player 10. Flash CS5 is required to develop applications with AIR 2, 2.5, and Flash Player 10.1.

Adobe Flash Professional CS4 and CS5

For information about building AIR applications with newer versions of Flash Professional, see:

For a quick overview of building an AIR application with Flash Professional, see Creating your first desktop AIR application using Flash Professional.

System requirements for the Adobe AIR Update for Flash CS3

To use Flash CS3 to develop and run AIR applications, you must have the following software installed:

Installing the Adobe AIR update for Flash CS3

Before you install the Adobe AIR update for Flash CS3, exit from Flash and also from any browsers that you have open.

Setting up external SDKs

Developing applications for Android and iOS require that you download SDKs or other development tools from the platform makers.

For information about downloading and installing the Android SDK, see Android Developers: Installing the SDK.

For information about the tools, certificates, and other files required for iOS development, see Obtaining developer files from Apple.