如何建立APK不偏食或修改的apk建设,配置文件?配置文件、不偏食、APK、apk

2023-09-05 06:27:01 作者:谎话看成了笑话

我要建立从一个XML文件中的一些大的配置的APK。我想知道是否有任何可以控制的apk的建设过程中,还是有什么办法可以从我们的源代码创建的apk方法与修改我们的源代码基于我们的XML配置file.Or打造apk文件 任何其他方式一点点 我不想看我的配置文件,每一次,当应用程序运行,我想包括在应用程序本身的变化 所有的建议,意见,解答,想法,欢迎 在此先感谢.....

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.....

推荐答案

如果你想手动生成应用程序:

If you want to manually build your application :

首先,你应该了解构建过程的,如果你不这样做。

First off, you should really understand the build process, if you don't.

如果您正在开发在Eclipse,ADT插件逐步建立   你的项目,你更改源$ C ​​$ C。 Eclipse的输出   会自动将一个.apk文件的文件到项目的bin文件夹,这样你就   没有做任何额外的东西来生成.apk文件。

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.

如果你正在开发一个非Eclipse环境,你可以建立你   项目生成的build.xml Ant文件是在项目   目录。蚂蚁文件调用的目标是自动调用   构建工具给你。

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.

这Tutorial在蚂蚁将带您从开始到结束就如何执行自定义生成。

This Tutorial on Ant takes you from start to finish on how to perform a custom build.

这几个教程:

文档 http://www.vogella.com/articles/AndroidBuildAnt/article.html http://$c$c.google.com/p/autoandroid/wiki/AndroidAnt http://www.linux-mag.com/id/7667/ http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/ Documentation http://www.vogella.com/articles/AndroidBuildAnt/article.html http://code.google.com/p/autoandroid/wiki/AndroidAnt http://www.linux-mag.com/id/7667/ http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/