Android的ant脚本解决方法吗? [英] Android ant script workaround?

查看:161
本文介绍了Android的ant脚本解决方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看来,在Android SDK 1.1和1.5之间的过渡,谷歌从根本上改变使用AAPT可以构建Android项目如何ant脚本。 previously他们支持ARGS允许开发者指定源,资源,资产和清单特定版本。结果
现在,他们似乎使开发者指定只包含一个文件夹中的一切。虽然我可以重写我们所有的构建脚本以这种新的方式工作,我比较喜欢我们目前的系统(因为它并不需要更多的时间,我没有工作)。为此,有没有人知道如何回去ant脚本建筑的pre 1.5的方法?另外,有没有人发现这一变化的合理的理由?

It appears that, in the transition between the Android 1.1 sdk and 1.5, Google radically changed how ant scripts using AAPT can build Android projects. Previously they support args allowing developers to specify source, res, asset, and a manifest for a particular build.
Now, they seem to allow developers to specify only a single folder containing everything. While I could rewrite all our build scripts to work in this new way, I rather like our current system (as it doesn't require more hours of work that I don't have). To that end, has anyone figured out how to go back to the pre 1.5 method of ant script building? Further, has anyone found a rational reason for this change?

推荐答案

我写了一篇关于如何在这里使用Ant与Android的文章:的 http://www.disgr​​untledrats.com/?p=27

I wrote an article on how to use Ant with Android here: http://www.disgruntledrats.com/?p=27

这篇关于Android的ant脚本解决方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆