Articles → Android → Multiple versions of APK

Multiple versions of APK






Build variants






buildTypes {
  release {
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
    versionNameSuffix "-release"
  }
  debug {
    applicationIdSuffix ".debug"
    debuggable true
    versionNameSuffix "-debug"
  }
  beta {
    applicationIdSuffix ".beta"
    versionNameSuffix "-beta"
  }
}











How do you select a build variant?






Picture showing the Select Build Variant.. option in the build menu

Click to Enlarge



Picture showing the build variant window in the android studio

Click to Enlarge


How to use build variant?













Posted By  -  Karan Gupta
 
Posted On  -  Thursday, October 31, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250