Just Updated android studio from 2.3.3 to 3.0 now I am having the error
Error:Execution failed for task \':app:transformDexArchiveWithExternalLibsDexMergerFo
In your file build.gradle (Project: XXX), there is this snippet
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
}
}
Previously, that is 2.3.3, then became 3.0.0 when you updated your Android Studio. Try reverting it to 2.3.3 then Resync, then wait for your Android Studio to ask to update your Gradle and gradle plugin to 3.0.0. By this time, no build issues should appear related to Merge Dex.