SOLVED| ERROR:D8: Cannot fit requested classes in a single dex file | Flutter | Android | Firebase

Published: 05 April 2023
on channel: True Coders
2,527
46

Solution
https://www.youtube.com/@truecoders?s...

defaultConfig {
multiDexEnabled true
}
dependencies {
implementation 'com.android.support:multidex:1.0.3'
}

ERROR:D8: Cannot fit requested classes in a single dex file (# methods: 102248 65536)
om.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/b...
at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:151)
at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:138)
at com.android.build.gradle.internal.tasks.DexMergingWorkAction.merge(DexMergingTask.kt:859)
at com.android.build.gradle.internal.tasks.DexMergingWorkAction.run(DexMergingTask.kt:805)
at com.android.build.gradle.internal.profile.ProfileAwareWorkAction.execute(ProfileAwareWorkAction.kt:74)


On this page of the site you can watch the video online SOLVED| ERROR:D8: Cannot fit requested classes in a single dex file | Flutter | Android | Firebase with a duration of hours minute second in good quality, which was uploaded by the user True Coders 05 April 2023, share the link with friends and acquaintances, this video has already been watched 2,527 times on youtube and it was liked by 46 viewers. Enjoy your viewing!