uses-sdk element cannot have a “tools:node” attribute

后端 未结 5 1141
滥情空心
滥情空心 2020-12-28 16:26

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

Error:Executi

5条回答
  •  心在旅途
    2020-12-28 16:41

    OK this is not the answer, but a temporary workaround.

    According to the Gradle build tools release notes this problem was fixed in version 0.13.2 (2014/09/26)
    However, seems to happen again in 0.14.0 (2014/10/31)

    You can disable the manifest merger task in order to build your project for the time being.
    Add the following in your build.gradle file

    android.applicationVariants.all { variant ->
    variant.processResources.manifestFile = file('src/main/AndroidManifest.xml')
    variant.processManifest.enabled=false }
    

    See this question for reference.

提交回复
热议问题