android tutorial - Defining build types in Android | Developer android - android app development - android studio - android app developement



Defining build types

  • You can create and configure build types in the module-level build.gradle file inside the android {} block.
 android {
        ...
        defaultConfig {...}
    
        buildTypes {
            release {
                minifyEnabled true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
    
            debug {
                applicationIdSuffix ".debug"
            }
        }
    }
click below button to copy code from our android learning website - android tutorial - team

Related Searches to Defining build types in Android