Build all binaries for different Android app stores in a single step

谁说胖子不能爱 提交于 2019-12-03 09:15:43

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.

eg:

  • Language (US English, UK English, French)
  • Appstore (Amazon, Android, SlideMe)

Jenkins would build all the combinations of above.

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.

You could just set up a Maven Android Plugin based build for your apk that uses resource filtering and profiles for your different configurations. Check the morseflash example of the official samples project to see how it is all done in detail.

Once you have the profiles set up you can use the maven invoker plugin to run it all in one sweep. And if you want to have it automated just put the build on Hudson.

http://code.google.com/p/maven-android-plugin/

http://code.google.com/p/maven-android-plugin/wiki/Samples

http://www.simpligility.com/2010/11/release-version-management-for-your-android-application/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!