Android – Packaging Adobe AIR As .APK For Android

airair-androidandroidapache-flex

I have a simple "Hello World" style .air application.

How do I turn it into an .APK that can be run in the Android emulator?

I am using Adobe Flex Builder 3 to create the .AIR file.

Best Answer

Firstly, the prior responder is correct, you cannot use Flex Builder 3 (or Flash Builder 4 even) for this purpose. I recommend you download the free preview release of Flash Builder "Burrito" that was posted on Labs around MAX in October http://labs.adobe.com/technologies/flashbuilder_burrito/. This version of the IDE includes a preview of the mobile workflow you will need to create mobile applications using Flex "Hero" mobile SDK.

In terms of porting your existing appliation, while you can run MX (Halo) components on Android, it is not recommended as they are not optimized for mobile in terms of performance or for handling things like touch. The Spark mobile components included in the "Hero" SDK you will get with the preview of Flash Builder "Burrito" have mobile skins optimized to perform better on Android as well as handling touch inputs.