Android自动打包流程详细图:[原]Android打包之Ant打包

使用Ant打包会简单很多,只要使用以下两个命令就可以搞定:

android update project -p . --target android-18
ant clean & ant debug(ant release)

如果要打release包需要在ant.properties中指定你

  key.store 数字签名文件路径

  key.alias 数字签名的别名

  key.store.password 数字签名的密码

  key.alias.password 数字签名别名的密码

然后将对应的签名文件copy到指定的文件路径下即可。

 

以上命令可以综合使用一个shell脚本来执行,具体demo详见:https://github.com/clarck/AntBuildShell

 

相关文章:

  • 2021-12-10
  • 2021-12-16
  • 2021-11-26
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2021-06-10
  • 2021-10-05
  • 2021-10-10
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
相关资源
相似解决方案