Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/215.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
错误:任务';的执行失败:app:processDebugAndroidTestManifest';_Android_Android Studio_Android Support Library - Fatal编程技术网

错误:任务';的执行失败:app:processDebugAndroidTestManifest';

错误:任务';的执行失败:app:processDebugAndroidTestManifest';,android,android-studio,android-support-library,Android,Android Studio,Android Support Library,这就是我将buildToolsVersion从26.0.1更新为26.0.2时发生的情况 错误:任务“:all:processDebugAndroidTestManifest”的执行失败。 清单合并失败:属性元数据#android.support。VERSION@value值=(26.0.2)来自[com.android.support:cardwiew-v7:26.0.2]AndroidManifest.xml:25:13-35 也出现在[com.android.support:support

这就是我将buildToolsVersion从
26.0.1
更新为
26.0.2
时发生的情况

错误:任务“:all:processDebugAndroidTestManifest”的执行失败。 清单合并失败:属性元数据#android.support。VERSION@value值=(26.0.2)来自[com.android.support:cardwiew-v7:26.0.2]AndroidManifest.xml:25:13-35 也出现在[com.android.support:support-v13:26.0.1]AndroidManifest.xml:28:13-35 value=(26.0.1)上。 建议:在manifestMerger8124076249449477164.xml:23:9-25:38处的元素中添加'tools:replace=“android:value”'以覆盖

但是我没有将
support-v13:26.0.1库添加到我的项目中

我试图将
tools:replace=“android:value”
添加到清单中,并进行清理-重建,但没有任何更改

build.gradle

dependencies { 
    compile 'com.android.support:appcompat-v7:26.0.+' 
    compile 'com.android.support:design:26.0.+' 
    compile 'com.android.support:cardview-v7:26.0.+' 
    compile 'com.android.support:recyclerview-v7:26.0.+' 
    compile 'cn.pedant.sweetalert:library:1.3' 
    compile 'com.nineoldandroids:library:2.4.0' 
    compile 'com.daimajia.easing:library:1.0.1@aar' 
    compile 'com.daimajia.androidanimations:library:1.1.3@aar' 
    compile 'com.google.code.gson:gson:2.8.2' 
    compile 'com.wdullaer:materialdatetimepicker:3.3.0' 
}

com.wdullaer:materialdatetimepicker
库使用它。你可以查一下

build.gradle
中添加一个显式依赖项,以使用相同级别的支持库:

compile 'com.android.support:support-v13:26.0.2'

com.wdullaer:materialdatetimepicker
库使用它。你可以查一下

build.gradle
中添加一个显式依赖项,以使用相同级别的支持库:

compile 'com.android.support:support-v13:26.0.2'

通过在自己清单的元数据标记中添加
tools:replace=“android:value”
,并指定要使用的值,可以覆盖应用程序依赖项清单之间的冲突

<meta-data
    android:name="android.support.VERSION"
    android:value="26.0.2"
    tools:replace="android:value" />


注意:如果您还没有元数据标记,则应将其添加到AndroidManifest.xml中的应用程序标记中。您可以通过在自己清单的元数据标记中添加
tools:replace=“android:value”
来覆盖应用程序依赖项清单之间的冲突,并指定要使用的值

<meta-data
    android:name="android.support.VERSION"
    android:value="26.0.2"
    tools:replace="android:value" />


附言:如果您还没有元数据标记,您应该将其添加到AndroidManifest.xml中的应用程序标记中

您能给我们提供build.gradle(应用程序)依赖项部分吗?
gradle依赖项{compile'com.android.support:appcompat-v7:26.0.+'compile'com.android.support:design:26.0.+'compile'com.android.support:cardview-v7:26.0.+'compile'cn.pedant.sweetalert:library:1.3'compile'com.ninealdroids:library:2.4.0'compile'com.daimajia:1.0.1@aar“编译”com.daimajia.androidanimations:library:1.1。3@aar“compile”com.google.code.gson:gson:2.8.2“compile”com.wdullaer:materialdatetimepicker:3.3.0'}
您能给我们提供build.gradle(应用程序)依赖项部分吗?
gradle依赖项{compile'com.android.support:appcompat-v7:26.0.+'compile'com.android.support:design:26.0.+'compile'com.android.support:cardview-v7:26.0.+'compile'cn.pedant.sweetalert:library:1.3'compile'com.ninealdroids:library:2.4.0'compile'com.daimajia:1.0.1@aar“编译”com.daimajia.androidanimations:library:1.1。3@aar“compile”com.google.code.gson:gson:2.8.2“compile”com.wdullaer:materialdatetimepicker:3.3.0'}
工作了,谢谢。工作了,谢谢。