How to include version string in the filename when building Android apk with ant?

前端 未结 4 1572
不知归路
不知归路 2020-12-24 02:58

Normally we build android package in debug mode with the command

ant debug

and got the apk filename AppName-debug.apk.

4条回答
  •  死守一世寂寞
    2020-12-24 03:24

    Solution described in the following post has custom_rules.xml file that can be just copied to achieve the desired result. http://jeffreysambells.com/2013/02/14/build-your-android-apk-with-the-manifest-version-number

提交回复
热议问题