Manifest merger failed : Error:Execution failed for task ':app:processDebugManifest'.



Error:Execution failed for task ':app:processDebugManifest'.

再AS的右下角有一个Gradle Console,里面有具体的error信息;

再app的gradle中的android{}里加入configuration.all{},具体如下:
android {
    compileSdkVersion 25
    buildToolsVersion "25.0.2"
    defaultConfig {
        applicationId "com.example.administrator.hlfconnect"
        minSdkVersion 15
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"


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

就ok了

有问题上stackoverflow找你遇到的问题,如果是火狐或chrome浏览器安个划词翻译插件,英文就能看懂了

猜你喜欢

转载自blog.csdn.net/PyFanL/article/details/70183229