Home » Android » android – How to build apk without eclipse or Modify the apk building with a config file?

android – How to build apk without eclipse or Modify the apk building with a config file?

Posted by: admin June 15, 2020 Leave a comment


I want to build an apk with some large configuration from a xml file.
I want to know if there is any method that can control the building process of apk or is there any way to create apk from our source with a little bit of modification on our source based on our config xml file.Or any other way to build apk file

I don’t want to read my config file each and every time when the app run ,I want to include the change in application itself

All Suggestions,Comments,Answers,Ideas are Welcome
Thanks in advance…..

How to&Answers:

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:


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.


I use Maven. It’s VERY hard to configure but is the best if you work in a team.


Please refer to the link below. This has step by step proceduce to automate Building of Android Applications