I am developing a game for Android in Windows Vista environment. I want to automate the exporting unsigned application operation in a batch file. So, I wouldn't have to Right click on the project, go to Android Tools and then select Export Unsigned Application Package... anytime I want to run my project. Thank you.
Here's a nice link: http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html, written by Matt Quigley.
In a nutshell:
You create a build.xml file by going to the root path and entering android update project --path .
.
This will create a build.xml file. From that point on, you should be able to build an unsigned apk by running ant release
.
Android's Eclipse SDK just use Ant behind the scenes for exporting application packages. You could just write an ANT build file and do the export you are trying to, and you will have yourself the task on a batch file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With