我不希望每次应用程序运行时都读取我的配置文件,我想在应用程序本身中包含更改
欢迎所有建议,评论,答案,想法
提前致谢…..
解决方法
首先,如果你不这样做,你应该真正了解build process.
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.
一旦理解了构建过程,就可以从学习命令开始,执行构建过程中涉及的各个步骤. The documentation讨论了您可以使用的各种命令.
这个关于Ant的Tutorial将从头到尾介绍如何执行自定义构建.
还有一些教程:
> 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/