To install and run AIR your development environment must meet these minimum requirements:
- Windows 7 or later
- 1.3GB free disk space (for the AIR SDK and does not include other tools)
- A version of Java 8
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:
Warning: Do not install the AIR SDK in a directory like
C:\Program Files\. These directories may require elevated privilages and can affect the operation of the AIR SDK.
Set your Environment
Next you will want to add the AIR SDK tools to your path so you can execute the build commands from any console.
- Open the Environment Variables window by searching for "Edit environment variables" in the search bar:
Add a variable called
AIR_HOMEand set it to the location where you extracted the AIR SDK (eg
- If it exists, append
;as a separator (or select edit and add a New entry);
- If it doesn't exist, create a new variable with the name
Close and reopen any active console windows
Verify the AIR SDK
bindirectory is in your path by running:
or if you are using Powershell:
Verify you can access the AIR SDK commands by running:
You can check the version of the AIR SDK by running
AIR relies on the Android SDK and build tools in order to produce AAB builds and support the latest Android functionality.
You can either install the Android SDK directly or we suggest you install Android Studio (which includes the SDK) as this makes the installation process easier and provides additional debugging tools.
Install Android Studio
- Download Android Studio
- Start Android studio and run through the setup wizard which will install the latest Android SDK, command line tools and build tools.
Set up your Android device
If you have an Android device you intend on debugging with you must make sure you have set up the device for debugging.
- In order to debug an application on an Android device you need to enable "Developer Mode" and then enable USB debugging. Detailed process is described in the Android documentation.
- Plug your device into your machine using a cable, and you should receive a prompt on the device to authorise access via the computer;
- Run the following command and you should see a device listed:
adt -devices -platform android
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.