Auto increment version code in Android app

后端 未结 15 1032
忘掉有多难
忘掉有多难 2020-12-07 08:22

is there a way to auto-increment the version code each time you build an Android application in Eclipse?

According to http://developer.android.com/guide/publishing/v

15条回答
  •  星月不相逢
    2020-12-07 08:43

    If you want to update the AndroidManifest.xml to use a specific version number, perhaps from a build system, then you can use the project I just pushed to GitHub: https://github.com/bluebirdtech/AndroidManifestVersioner

    It's a basic .NET command line app, usage:

    AndroidManifestVersioner   .
    

    Thanks to other posters for their code.

提交回复
热议问题