错误:任务':app:processDebugManifest'的执行失败.
清单合并失败:来自[com.android.support:design:26.1.0]的属性meta-data#android.support.VERSION@value value =(26.1.0)AndroidManifest.xml:28:13-35也出现在[com.android.support:support-v13:26.0.1] AndroidManifest.xml:28:13-35 value =(26.0.1).建议:在AndroidManifest.xml:26:9-28:38中添加'tools:replace ="android:value"'来覆盖.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.google.gms:google-services:3.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://maven.google.com' }
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Run Code Online (Sandbox Code Playgroud)
android android-support-library build.gradle android-gradle-plugin