After adding your library to my app's build.gradle, I get the following error message:
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
From what I can gather, this indicates that there is some kind of dependency issue. I tried resolving the issue by updating my google-services dependencies and updating android sdk to no avail. Furthermore, I am not using Kotlin to develop my application.
Is there a way to find which dependency might be causing this, if any?
Thanks a lot for your time!
Below I have posted my project build.gradle and my app build.gradle and information related to Android Studio version and JVM version.
Project build.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven {
url "https://jitpack.io"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Android Studio 3.0
Build #AI-171.4408382, built on October 20, 2017
JRE: 1.8.0_152-release-915-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Hello,
After adding your library to my app's
build.gradle
, I get the following error message:From what I can gather, this indicates that there is some kind of dependency issue. I tried resolving the issue by updating my
google-services
dependencies and updating android sdk to no avail. Furthermore, I am not using Kotlin to develop my application.Is there a way to find which dependency might be causing this, if any?
Thanks a lot for your time!
Below I have posted my project
build.gradle
and my appbuild.gradle
and information related to Android Studio version and JVM version.Project
build.gradle
App
build.gradle
More Specs