To install and run AIR your development environment must meet these minimum requirements:
- 1.3GB free disk space (for the AIR SDK and does not include other tools)
- A version of Java 11
Download the SDK
- Download the latest release bundle of the AIR SDK:
For older versions see the SDK releases page.
- Extract the bundle in the desired location, for example:
Set your Environment
Next you will want to add the AIR SDK tools to your path so you can execute the build commands.
- Permanently adding the path will depend on the shell you are using on your machine. Typing
echo $SHELLin your Terminal will generally tell you which sheel you are using and then you can edit the
rcfile for that shell type, the most common types are:
/bin/bash: Edit the
/bin/zsh: Edit the
- Once you have determined the shell type add the following changing the
[AIR_SDK_PATH]to be the path you extracted the AIR SDK to above:
source ~/.<rc file>or start a new Terminal window to refresh the environment.
Verify the AIR SDK
bindirectory is in your path by running:
Verify you can access the AIR SDK commands by running:
which adt adl
You can check the version of the AIR SDK by running
You must make sure you have version of Java 8 installed and that your
JAVA_HOME environment variable is set to the JDK’s folder.