Following method is to change the version number of application in Android Studio V 3.1 using settings. There are two methods we can follow, letโs have a look at both:
Method 1: Using Setting Popup
Step 1) Just go to Project and Right Click on โappโ then select โOpen Module Settingsโ
Step 2)ย In opened Model select โFlavorsโ tab then change โVersion Codeโ and โVersion Nameโ as shown in the image below.
Now click โOKโ.
Method 2: Changing โbuild.gradleโ file values
Step 1:ย Open build.gradle(Module:app)ย then change the value of โversionCodeโ and โversionNameโ under defaultConfig as shown below:
Step 2: Now click on โSync Nowโ
Leave a Reply