The Adobe AIR SDK beta contains tools, samples, and code that make it easier to develop, test, and deploy applications. In particular, it contains two command-line tools that we will use:
ADL
You use this tool to launch and test an Adobe AIR application without having to install it first.
ADT
You use this tool to package and sign an AIR application for distribution.
To ease development, you should place the path to these files within your system's path. This will allow you to execute the tools from anywhere on your system.
The command-line tools are located in the bin directory within the SDK.
Download the Adobe AIR SDK from http://www.adobe.com/go/getairsdk.
At this point, you should have at least the following three directories: <SDK_Path>/bin, <SDK_Path>/lib, and <SDK_Path>/runtime. The ADL and ADT command-line tools are located in the bin directory.
All that is left to do is to place the <SDK_Path>/bin directory into your system path so that you can execute the command-line applications from anywhere on your system.
The instructions for this are different depending on whether you are on a Mac or Windows-based system.
If you are on a Windows system, follow these steps:
Select the PATH entry and then click the Edit button. Add the path to the bin directory to the end of the current variable value, separating it from previous values with a semicolon:
; <SDK_Path>/bin
Figure 2-1 Editing PATH variables in Windows.

Click OK to close the panels.
To test the installation, open a new Windows Console
(Start
Run
Console), and type adt.
You should see output similar to this:
usage: adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS adt -prepare <airi-file> <app-desc> FILE_ARGS adt -sign SIGNING_OPTIONS <airi-file> <air-file> adt -checkstore SIGNING_OPTIONS adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <country> )? <key-type> <pfx-file> <password> adt -help SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )? FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))* -C dir
This means the tools are configured correctly.
If you get an error stating that the file cannot be found, do the following:
Make sure the bin, lib, and runtime directories are included in the <SDK_Path> directory.
Make sure you included the path to the <SDK_Path> directory correctly in the PATH environment variable.
Make sure you opened a new Console window before running the command.
There are a number of ways to add the path to the AIR SDK to your system path, depending on which shell you are using and how you specify user environment variables.
The following instructions explain how to modify your PATH environment variable if you are using the bash shell:
Look for a file named either .profile or .bashrc.
Open the .profile or .bashrc file with a text editor.
Add the path to the <SDK_Path>/bin directory to the end of this line. For example, if <SDK_Path>/bin is at /airsdk/bin, the export path should look something like this:
export PATH=$PATH:/usr/local/bin;/airsdk/bin
Make sure you separate the entries with a colon.
If the file is empty, add the following line:
export PATH=$PATH:/airsdk/bin
Save and close the file.
Run the command source .profile to load the new settings (or .bashrc, if that is the file you edited).
Confirm that the new settings have taken effect by typing echo $PATH and pressing Enter. Make sure the <SDK_Path>/bin path is included in the output.
To test the installation, open a Terminal window and type adt.
You should see output similar to this:
usage: adt -package SIGNING_OPTIONS <air-file> <app-desc> FILE_ARGS adt -prepare <airi-file> <app-desc> FILE_ARGS adt -sign SIGNING_OPTIONS <airi-file> <air-file> adt -checkstore SIGNING_OPTIONS adt -certificate -cn <name> ( -ou <org-unit> )? ( -o <org-name> )? ( -c <country> )? <key-type> <pfx-file> <password> adt -help SIGNING_OPTIONS: -storetype <type> ( -keystore <store> )? ( -storepass <pass> )? ( -keypass <pass> )? ( -providerName <name> )? ( -tsa <url> )? FILE_ARGS: <fileOrDir>* (( -C <dir> <fileOrDir>+ ) | ( -e <file> <path> ))* -C
This means the tools are configured correctly.
If you get an error stating that the file cannot be found, do the following: