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

前端 未结 4 1576
不知归路
不知归路 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:27

    Yes there is a way to generate apk file with any name i give a process to you fallow this process the you got .apk mention your name.

    1-Right click on application in package explorer . 2-Chose export. 3-chose Android 4-Choose Export Android application. 5-Create new keystore . 6- fill the form. 7-: Give apk file name what you want 8-:give location to apk to store apk .

    Then you find solution of your problem. I hope this is help.

提交回复
热议问题