How to automate version code incrementing in AndroidManifest?

后端 未结 4 1108
感情败类
感情败类 2021-02-14 07:47

I have application which uploaded into Subversion/SVN repo. Is it possible to use script to somehow change application version code stored in AndroidManifest? I mea

4条回答
  •  独厮守ぢ
    2021-02-14 08:07

    SVN approach is fine, but not necessarily suitable for everyone. I do prefer to have control on app versionName and versionCode increment so I did my own Java simple app to do that

    Features:

    • versionName is supposed to be major.minor.point (as advised by Android doc)
    • versionName can be preserved, reset to 1.0.0, or incremented (one single part of it and trailing part(s) is/are set to 0)
    • versionCode will be replaced by Unix Time

    Available here: android manifest build number

提交回复
热议问题