How To Build Apk Without Eclipse Or Modify The Apk Building With A Config File?
Solution 1:
If you want to manually build your application :
First off, you should really understand the build process, if you don't.
If you are developing in Eclipse, the ADT plugin incrementally builds your project as you make changes to the source code. Eclipse outputs an .apk file automatically to the bin folder of the project, so you do not have to do anything extra to generate the .apk.
If you are developing in a non-Eclipse environment, you can build your project with the generated build.xml Ant file that is in the project directory. The Ant file calls targets that automatically call the build tools for you.
Once you understand the build process, you can start off by learning the commands to perform the various steps involved in building. The documentation talks about the various commands you can use.
This Tutorial on Ant
takes you from start to finish on how to perform a custom build.
A few more tutorials:
Solution 2:
You can use the Apache Ant tool. It allows you to build your application through commands instead of with Eclipse.
You can look at the question asked and the answer given in this thread.
Solution 3:
I use Maven. It's VERY hard to configure but is the best if you work in a team.
Solution 4:
Please refer to the link below. This has step by step proceduce to automate Building of Android Applications
http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html
Post a Comment for "How To Build Apk Without Eclipse Or Modify The Apk Building With A Config File?"