Compiling a project to an Android release version .apk
file is the final step before distributing an application to the Android Market or some other channel. There are many methods of doing this depending upon what tool is being used. In this recipe, we will use the tools available within Flash Professional to compile and package our application.
To compile an .apk
from Flash Professional, we will take the following steps:
1. With a project open which targets AIR for Android, open the Properties panel and click the Publish Settings… button. This will open the Publish Settings dialog:
2. We can look over our settings here and even simply click Publish if we know for certain everything is configured appropriately. To verify all of the settings are in place to publish to Android, click the little wrench icon for our Player selection box, which should be set to AIR for Android. This will provide access to the AIR for Android Settings...