Developing Android applications with Flash Builder

The first step is to install the AIR 2.5 sdk

Go to the page on Adobe AIR for Android at Adobe Labs. Signup for the prerelease.

Follow all the steps necessary to download the AIR 2.5 sdk. Unzip the archive. You should end up with a folder of the like:

AIR25_mac_sdk_20100517

Navigate to the sdks folder of FlashBuilder, within the Application folder.

/Applications/Adobe\ Flash\ Builder\ 4/sdks/

Duplicate the folder with the 4.0 sdk (you will have to download the SDK first if you don't have it yet).

Name it something like '4.0.0-air2.5'

In that newly created folder, overwrite the AIR framework with the AIR sdk that you just downloaded. The ditto command comes in handy.

ditto -V /path/to/AIR25_mac_sdk_20100517 /Applications/Adobe\ Flash\ Builder\ 4/sdks/4.0.0-air2.5

Open Flash Builder, create a new project. Make sure that you select the '4.0.0-air2.5' SDK. Create an app. Select Export Release Build. A swf should be created alongside the app.xml, possibly in the bin-debug directory.

Use Package Assistant by Serge Jespers to convert your swf to an Android application.

To get an android application (apk) running on Android, you need to push it onto your device. Connect your android to your computer with the USB cable. Click on the USB icon to mount the device.

Use the android debug bridge (adb) provided in the android sdk

adb install /path/to/MyApp.apk

That's it, the application should now be on your android. Click on the grid-like icon to get to the list of all applications on your system. Your app should show up there (alphabetical order)


That's all when it comes to putting together information that is publicly available. For specifics, best is to read the documentation provided within the pre-release program (which cannot be redistributed).

Powered by Drupal, an open source content management system