Error: null, Cannot fit requested classes in a single dex file (# methods: 98549 > 65536)

Error: null, Cannot fit requested classes in a single dex file (# methods: 98549 > 65536)

Solution:

app.gradle file add

defaultConfig {
    applicationId "com.m27lab.messmanager.app"
    minSdkVersion 16
    targetSdkVersion 28
    versionCode 15
    versionName "7.2.2"
    multiDexEnabled true
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    //vectorDrawables.useSupportLibrary = true
}

Author: joker

Leave a Reply

Your email address will not be published. Required fields are marked *