TUNE AIR Native Extension
Please see the Quick Start guide here:
Building the ANE
- Install Apache Ant if you haven't already
Make sure to use an Ant distribution compatible with Java 7 or lower, such as Ant 1.9.x.
Put the download somewhere permanent and add the bin directory to your PATH
- Download the Flex SDK installer This is the SDK that you need to build the AIR plugin
- Run the downloaded Flex installer
- Select a download location for the Flex SDK (you'll need this location later)
- Choose the latest version of Flex and Air (or whatever you need to build the plugin against) and download (this will take some time)
This is the IDE that you build the AIR Plugin with.
- Make sure you have java 6, which the Flash Builder 4.7 depends on Mac download
Developing and testing in the Adobe Flash Builder IDE
- Run Adobe Flash Builder
Adobe Flash Builder is built on Eclipse, so it might look familiar to you
- Choose File -> Import -> Existing Projects into Workspace and then choose the whole sdk-air directory
You should see 9 projects imported into the workspace.
- Run the TuneANETestApp project on both iOS and Android devices. All the buttons in the test app should work on device without crashes. You can verify the AA requests succeed by looking at debug output from Xcode console or Android LogCat.
Upgrading Air SDK for Adobe Flash Builder
Make a backup of /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_188.8.131.529722
Erase all contents inside com.adobe.flash.compiler_184.108.40.2069722
Extract the new Air SDK and then paste it into com.adobe.flash.compiler_220.127.116.119722
Building the ANE from the command line
In the /build/ folder, rename the build.config.dist file to build.config and set your system paths for flex.sdk and android.sdk
In extension.xml, platformandroid.xml, and platformios.xml, change the AIR SDK version if needed
Then from /build/, run 'ant' which will create a TuneANE.ane file in the /dist/ folder