Auto increment version code in Android app

后端 未结 15 1002
忘掉有多难
忘掉有多难 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:51

    If you're using gradle then you can specific versionName and versionCode very easy in build.gradle. You can use git commit count as an increasing number to identify the build.

    You can also use this library: https://github.com/rockerhieu/Versionberg.

提交回复
热议问题