Execution failed for task ':app:mergeDexDebug'. > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: code example
Example: com.android.builder.dexing.DexArchiveMergerException:
// go to android/app/build.gradle
// Add the following command inside defaultConfig:
multiDexEnabled true