Answers for "Execution failed for task ':app:mergeDexDebug'. react native"

6

task :app:mergedexdebug failed react native

Go to android/app/build.gradle and add the following lines of codes:

android {
    defaultConfig {
        ...
        multiDexEnabled true
    }
    ...
}

dependencies {
  // multidex support at time of writing this 1.0.3 was latest make sure you add latest version
  implementation 'com.android.support:multidex:1.0.3'
}
Posted by: Guest on July-04-2020
1

Execution failed for task ':app:mergeDexDebug'

dependencies {
  compile 'com.android.support:multidex:1.0.3' 
  //find latest version from here https://developer.android.com/studio/build/multidex
}

android {
    defaultConfig {
        multiDexEnabled true
    }
}
Posted by: Guest on August-24-2021

Code answers related to "Execution failed for task ':app:mergeDexDebug'. react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language