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

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language