AIR for Android with FlashDevelop


I have been playing with AIR for Android lately but I could do it only from Flash CS5, recently I have found that my embedded fonts wasn’t displayed in the android application, after further investigation it was Flash CS5 problem and latest Flex SDK:

<name>Flex 4.1</name>

I have reverted to the earlier version of SDK:

<name>Flex 4.0</name>

and it worked but not when Flash CS5 was used. So because I couldn’t use Flash CS5 and have fonts embedded I have searched for solution to use FD to build air for android applications.

I have found this and that and using that knowledge I have compiled AIR for Android project for FlashDevelop that works perfectly for me, it builds APK file and uploads it to the connected device (not emulator – which is slow anyway) and runs it. I have used Project image (PNG) from fazermokeurs version project.

UPDATE: well I know why fonts were not embedded, it was due to the new way of embedding fonts (As CFF “Compact Font Format”) used by default for the Flash Text Engine, you may find info here and here.

The AIR for Android