If you are using git as your source control system it can also help you to generate android versionName & versionCode. It’s a common practice to use git tags to indicate release of new version. Using…