How to change the versionCode and versionName? [SOLVED] Android Studio


To change the versionCode or the versionName, just open the build.gradle file located at

and change the corresponding fields:

defaultConfig {
applicationId "com.bragitoff.curvefit_leastsquares"
minSdkVersion 14 //Change Minimum SDK Version here
targetSdkVersion 25 //Change Target SDK here
versionCode 4 //Change version code here
versionName "1.3" //change version name here
}

[wpedon id="7041" align="center"]

One thought on “How to change the versionCode and versionName? [SOLVED] Android Studio

  1. It’s really a nice and helpful piece of info. I am glad
    that you simply shared this useful info with us.

    Please stay us informed like this. Thank you for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.