How to update Android app versionCode and versionName

Edit build.gradle file inside app folder and enter following code to have versionCode and versionName

apply plugin: 'com.android.application' android { compileSdkVersion 22 buildToolsVersion "22.0.1" defaultConfig { applicationId "com.indiacitys.cityclassifieds" minSdkVersion 15 targetSdkVersion 22 versionCode 9 versionName "2.3" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } }
Sign In or Register to comment.