建立所有二进制文件不同的Android应用商店在一个单一的步骤 [英] Build all binaries for different Android app stores in a single step
问题描述
我目前代理我的Android电子市场中,SlideMe和亚马逊的应用程序商店Android应用程序。 Android电子市场和SlideMe需要一个有符号二进制,而亚马逊需要一个无符号之一。我还需要一些与众不同的code,这取决于存储我针对进行编译。目前,我只需要显示不同的文本/链接信息,但在未来可能有必要改变之类的东西包含的库。
I currently distribute my Android apps on Android Market, SlideMe and Amazon app store. Android Market and SlideMe require a signed binary, while Amazon requires an unsigned one. I also need to differentiate some of the code to be compiled depending on which store I'm targeting. Currently I only need to display different text/link information, but in the future there may be a need to change things like included libraries.
我在Windows上使用Eclipse来建立我的项目。我找有条件编译code和建立多目标的构建需要为每个商店的最简单的方法。
I am using Eclipse on Windows to build my projects. I am looking for the easiest way to conditionally compile the code and create multi-target builds as required for each store.
我不需要这些版本是由提交或计时器或性质的事情自动触发。我只需要手动触发的基础之上。
I don't need the builds to be triggered automatically by commits or timers or anything of that nature. I only need to trigger the builds manually.
鸭preciate任何建议。
Appreciate any suggestions.
推荐答案
您可能会发现,詹金斯帮助有了这个。它支持参数化的构建,再加上还矩阵构建。矩阵构建多维参数化的构建 - 您指定了一系列的组值,每个组合采用
You might find that Jenkins will help with this. It supports parameterised builds, plus also matrix builds. Matrix builds multidimensional parameterised builds - you specify a series of sets of values, and every combination is built.
例如:
- 语言(美国英语,英国英语,法语)
- 在苹果商店(亚马逊的Android,SlideMe)
詹金斯将建立上述所有的组合。
Jenkins would build all the combinations of above.
显然,你仍然需要一个Ant构建脚本来完成复杂的工作,但我相信Android的SDK已经为Ant合理的支持。
Obviously you will still need an Ant build script to do the hard work, but I believe Android's SDK has reasonable support for Ant.
这篇关于建立所有二进制文件不同的Android应用商店在一个单一的步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!