Building Android outside Eclipse involves using the command line or shell. You should be familiar with using a shell to work with Apache Ant.
// check your Apache Ant version
The Eclipse project generation wizard does not create the required Apache Ant build.xml file. You can generated it on the command line.
android update project -p
You can build your project via Apache Ant
// clean the project
// build a debug version
// builds the debug version and installs it
ant debug install
If you want to release your application you can create the
ant.propertiesfile in your project directory. In this file you point to your signing key and the alias for it.
You can now create a release build.
// build release