问题描述
我已经更新的Android工作室昨晚0.9.0,buildToolsVersion到21.1.0和摇篮到0.14.0,我收到此错误后
I've updated Android Studio last night to 0.9.0, buildToolsVersion to 21.1.0 and gradle to 0.14.0, after that I'm receiving this error
错误:未能执行任务:应用程序:processDebugManifest。 清单合并失败:使用的SDK元素不能有一个工具:节点属性。
我已经花了昨晚寻找一个解决方案,我发现这一点:
<使用-SDK工具:节点=替换/>
I've spent the last night looking for a solution, I found this:
<uses-sdk tools:node="replace" />
不过遗憾的是,增加了一个错误!
But unfortunately, added one more error!
错误:(10,5)使用的SDK元素不能有一个工具:节点属性
错误:(10,5)执行失败的任务:应用程序:processDebugManifest。
清单合并失败:使用的SDK元素不能有一个工具:节点属性。
另一种解决方案我读过,不使用支持-V4:21,对我来说我不使用它,因为我使用的V13
Another solution I've read, to not use support-v4:21, for me I don't use it, since I'm using v13.
推荐答案
添加此行来使用的SDK的标签是这样的: -
Solution:--
Add this line to uses-sdk tag like this:-
<uses-sdk
tools:node="merge" <----This line do the magic
android:minSdkVersion="14"
android:targetSdkVersion="19" />
和添加的工具名称空间清单: -
And add the tools name space in manifest :-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" .....
.../>
这篇关于使用的SDK元件不能有&QUOT;工具:节点&QUOT;属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!