Articles → Android → Multiple versions of APK

Multiple versions of APK

Build variants

buildTypes {
  release {
    minifyEnabled false
    proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), ''
    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


Your Email Id  
Query/FeedbackCharacters remaining 250