Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix wrong AIR SDK version

Here you can find hints and tips if you are having issues getting the Adobe AIR based Flex SDK Installer to work, as well as details of how to use the command-line to install the Flex SDK using Ant without requiring Adobe AIR.

If you had installed a previous (pre-release) version of the installer to work.

Linux

Adobe no longer provide updates for their installer for the AIR runtime used by the installer, so clicking the installer badge may give an error, or the package it sends you will fail to correctly install. Workarounds are listed here.

Ubuntu and other .deb based system (such as Debian)

For 32bit system

sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/i386-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

For 64bit system:

sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0
sudo ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

Then for either system:
download the Adobe AIR installer by running the following command:

wget http://airdownload.adobe.com/air/lin/download/latest/AdobeAIRInstaller.binImage Removed

Once downloaded, you need to add "execute" permission to the installer:

sudo chmod +x AdobeAIRInstaller.bin

The last thing to do is executing the Adobe AIR installer:

sudo ./AdobeAIRInstaller.bin

Confirm is installed once complete

$ dpkg -l|grep adobeair
ii adobeair 1:2.6.0.19170 i386 Adobe AIR 2

app, you will probably get an error because of the mismatched certificates. If you see such an error, you may need to uninstall the installer before continuing.


Table of Contents
absoluteUrltrue

Ant-based installer script

The Ant-based installer script doesn't require the Adobe AIR runtime to be installed, nor does it use a GUI app. Instead, it runs on the command line using Apache Ant. The Ant-based installer is the preferred method of install on Linux, but it also may be used on both Windows and macOS.

First, download the binary package from http://flex.apache.org/download-binaries.html and unpack it.

Panel

wget https://dlcdn.apache.org/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.tar.gz

tar zxvf apache-flex-sdk-4.16.1-bin.tar.gz

Next, navigate into the unpacked directory.

Panel

cd apache-flex-sdk-4.16.1-bin/

Then, run the installer.xml script using Ant.

On macOS and Windows, you will need to tell the script to target version 32.0 of both Adobe Flash Player and the Adobe AIR SDK. 

Panel

# Windows and macOS only

ant -f installer.xml -Dflash.sdk.version=32.0 -Dair.sdk.version=32.0

However, on Linux, you should target version 32.0 of Adobe Flash Player, but skip the Adobe AIR SDK.

Panel

# Linux

ant -f installer.xml -Dflash.sdk.version=32.0 -Dair.donot.ask=true

On all platforms, you will be asked to agree to license terms for some additional components that must be downloaded for the Flex SDK to function properly.

After the installer script completes, verify that the Apache Flex compiler runs successfully.

Panel
bin/mxmlc

You should see output similar to the following:

Panel

Loading configuration file.........apache-flex-sdk-4.16.1-bin/frameworks/flex-config.xml

Apache Flex Compiler (mxmlc)

Version 4.16.1 build 20171115

Copyright 2017 The Apache Software Foundation.

Error: a target file must be specified

Use 'mxmlc -help' for information about using the command line.

Adobe AIR-based installer on macOS (10.9 or later)

The Adobe AIR-based installer app is not signed or notarized, which prevents modern versions of macOS from verifying its origin. Attempting to open the Adobe AIR-based installer app will cause macOS to block it and display a warning that the app is from an unknown developer. For a workaround, see Apple: Open a Mac app from an unknown developer.

Adobe AIR-based installer on Linux

Adobe no longer provide updates for the Adobe AIR runtime on Linux. You must use the Ant-based installation method.(thanks to http://www.ubuntubuzz.com/2012/08/how-to-install-adobe-air-on-ubuntu-1204.htmlImage Removed)