我不希望每次应用程序运行时都读取我的配置文件,我想在应用程序本身中包含更改
欢迎所有建议,评论,答案,想法
提前致谢…..
解决方法
首先,如果你不这样做,你应该真正了解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/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。