March 2013
Intermediate to advanced
346 pages
8h 4m
English
Though Eclipse is the recommended IDE for Android development, sometimes we want to build an Android application in the command line so that the process can be automated easily and become part of a continuous integration process. This recipe focuses on how to build an Android DNK application at the command line.
Apache Ant is a tool mainly used for building Java applications. It accepts an XML file to describe the build, deploy and test processes, manage the processes, and to automatically keep a track of the dependencies.
We are going to use Apache Ant to build and deploy our sample project. If you don't have it installed yet, you can follow these commands to install it: