I am developing a mobile application using sencha touch and phonegap targeting for android. I need to create ant build script used to build sencha touch application and create apk file. That apk file should be moved to some location for distributing the app to the team. I could not enhance build.xml file to do the same which is on the sencha touch application folder.
How do I create build which will create .apk file and move to some location for distributing the app.
--Sridhar
You can use ANT for creating android(apk) build. Your build.xml should contain task for below command
you can use below sample to create android build.
and you can simply use "ant build" to execute above script. Make sure you have installed ant and cordova properly.