Compiling a project to an Android release version .apk
file is the final step before distributing an application over 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 Builder to compile and package our application.
To compile an .apk
from Flash Builder, take the following steps:
1. Within a mobile ActionScript or Flex project, navigate to the Flash Builder menu and choose the Project menu item. This will reveal a submenu with a number of options. From this menu, choose Export Release Build… opening the Export Release Build dialog window:
2. Within this window, we are given the option to specify the project and specific application within that project we wish to perform a release build upon, decide which platforms to target, specify the path, and filename of our build, and choose what sort of application...