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

后端 未结 5 1140
滥情空心
滥情空心 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:52

    I ran into this after upgrading to Android Studio 1.0.0 rc4. I had previously been using so that I could make projects with lower min SDK versions than some of the libraries they depended on. Turns out, if you remove tools:replace and let the compiler error out again with the manifest merge conflict, it will provide you with a much better solution:

    
    

    At least, the Google Play Services library was what I was running into. Actually, you can list a whole bunch if you need to. Just comma-separate the package names. You may have to run the compiler a few times until it tells you every library that's causing problems.

提交回复
热议问题