Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update instructions for Flex 4.16.1

Here you can find hints and tips if you are having issues getting the Adobe AIR based Flex SDK installer 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 app, you will probably get an AIR error because of the mis-matched mismatched certificates. If you see such an error, you may need to uninstall the installer before continuing. 


Table of Contents
absoluteUrltrue

...

Download the binary package from http://flex.apache.org/download-binaries.html and unpack it. To test pre-release versions use the latest file from http://apacheflexbuild.cloudapp.net:8080/job/flex-sdk_release-candidate/lastSuccessfulBuild/artifact/out/

Panel

wget https://buildsdlcdn.apache.org/job/flex-sdk_release/lastSuccessfulBuild/artifact/out//4.16.1/binaries/apache-flex-sdk-4.1216.01-bin.tar.gz

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

Now enter the unpacked directory and run the installer. You will need to tell it to download the last version of the AIR SDK that ran on Linux. You can leave this argument off on other platforms.

Panel

cd apache-flex-sdk-4.1216.01-bin/

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

You will be asked to agree to all the licence terms.

Now you just need to create folders to hold the player global file, and download the expected version. Older versions have URLs like http://fpdownload.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc.

Panel

mkdir -p frameworks/libs/player/11.1/

wget http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc -O frameworks/libs/player/11.1/playerglobal.swc

license terms.

And finally verify that the Apache Flex compiler runs.

...

Panel

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

Apache Flex Compiler (mxmlc)

Version 4.12.0 build 2014-01-30_14-25-53

Copyright 2013 The Apache Software Foundation.

Error: a target file must be specified

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

...