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?







Click to Enlarge




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