android-build-an-app-architecture-components icon indicating copy to clipboard operation
android-build-an-app-architecture-components copied to clipboard

Initial Setup: Manifest Merger Failed

Open kenxle opened this issue 7 years ago • 2 comments
trafficstars

Needed to add this to the bottom of the module app build.gradle Android Studio 3.1.2

configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                details.useVersion '26.1.0'
            }
        }
    }
}

kenxle avatar May 08 '18 13:05 kenxle

Is this issue addressed in the PR?

rvail2 avatar May 15 '18 03:05 rvail2

Yep, PR https://github.com/googlecodelabs/android-build-an-app-architecture-components/pull/6 was enough to fix the issue for me.

tomaszrykala avatar Jun 02 '18 15:06 tomaszrykala