Android Enable multiDex

At some point while building applications you will run into error that you have count of functions.
So in that that case you need to enable mulidex

1. Open build.gradle and enter

    implementation 'com.android.support:multidex:1.0.3'
2. In the default config set multiDexEnabled true

android {
    defaultConfig {
        ...
        minSdkVersion 21
        targetSdkVersion 28
        multiDexEnabled true
    }
    ...
}


Comments