How to build apk without eclipse or change building apk using configuration file?

I want to build apk with some big configuration from xml file.
I want to know if there is any method that can control apk build process or if there is a way to create apk from our source with a few changes in our source based on our xml configuration file. Or any other way to build the apk file

I do not want to read my configuration file every time the application starts, I want to enable the change of the application itself

All suggestions, comments, answers, ideas are welcome. Thanks in advance.

+8
android apk
source share
4 answers

If you want to manually create an application:

First of all, you must really understand the build process if you do not.

If you are developing in Eclipse, the ADT plugin gradually builds up your project as you make changes to the source code. The outputs of the Eclipse.apk file are automatically in the bin folder of the project, so what you are doing is not to do anything extra to create the .apk.

If you work in an environment other than Eclipse, you can create your project with the created build.xml Ant file, which is located in the project directory. The Ant file calls up targets that automatically trigger create tools for you.

Once you understand the build process, you can start by learning the commands to complete the various steps involved in building. The documentation talks about the various commands you can use.

In this Tutorial on Ant you take you from start to finish on how to do custom builds.

A few more tutorials:

+5
source share

You can use the Apache Ant tool. It allows you to create an application through commands instead of Eclipse.

You can see the asked question and the answer indicated in this thread .

+2
source share

I am using Maven. It is VERY difficult to set up, but best if you work in a team.

+1
source share

Please refer to the link below. This step by step allows you to automate the creation of Android applications.

http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html

+1
source share

All Articles