1. Generate Build.xml
In your project's root directory:
android update project --target 5 --path .
target is the build target for your project. Run
android list targets
to get a list of all available targets.
2. ant.properties
key.alias=XXX
key.store.password=your.password
application.package=com.xxx.yyy
key.store=your.key.store
key.alias.password=your.alisa.password
proguard.enabled=true
3. generate release keystore