Horje
cannot fit requested classes in a single dex file Code Example
cannot fit requested classes in a single dex file
//Add the library in app gradle
implementation 'com.android.support:multidex:1.0.3'

//Add this to the default config in the app gradle
multiDexEnabled true
  
//If this still doesn't work, consider adding this name into the android manifesto
android:name=".MyApplication"
cannot fit requested classes in a single dex file flutter
defaultConfig {
    ...

    multiDexEnabled true
}


//In dependencies
dependencies {
	implementation 'androidx.multidex:multidex:2.0.1'
Cannot fit requested classes in a single dex file (# methods: 65710 > 65536)
android {
    defaultConfig {
        ...
        minSdkVersion 21 <----- *here
        targetSdkVersion 26
        multiDexEnabled true <------ *here
    }
    ...
}




Java

Related
print hello world in java Code Example print hello world in java Code Example
javafx center node in gridpane Code Example javafx center node in gridpane Code Example
set size of a jframe Code Example set size of a jframe Code Example
jlabel text center Code Example jlabel text center Code Example
getcolor deprecated Code Example getcolor deprecated Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
20