androidcordovaphonegap-buildphonegap

How to change the name of the apk file?


I build apk file with help of https://build.phonegap.com/apps/ portal evrey time I build debug or release apk file the names are:

______debug.apk or ______release.apk

I want to change the name of the release apk to something more significant, for example MyProject-v2.apk.

Any idea how can I change the name of the the apk file when it build?


Solution

  • No, sadly you cannot control the file name in the config.xml, but the file name doesn't matter. In the config.xml, you specify the name of your app as it will appear to the users on their mobiles, and that's what matters.

    If you like to give the file a specific name for your own file management (which is what I do too), you'll have to manually rename the file every time you create a new build.