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

PhD researcher at Friedrich-Schiller University Jena, Germany. I'm a physicist specializing in computational material science. I write efficient codes for simulating light-matter interactions at atomic scales. I like to develop Physics, DFT and Machine Learning related apps and softwares from time to time. Can code in most of the popular languages. Like to share my knowledge in Physics and applications using this Blog and a YouTube channel.
[wpedon id="7041" align="center"]

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

Leave a Reply

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