简体   繁体   English

我有一些gradle问题...它显示了一些错误消息

[英]i have some gradle issues… it is showing some error message

execution failed for task:app-merge debug resources. 任务:应用合并调试资源执行失败。 Some file crunching failed. 一些文件处理失败。

this is the message shown 这是显示的消息

these i have used 这些我用过的

 dependencies {
        classpath 'com.android.tools.build:gradle:2.1.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.2.1'
    compile 'com.android.support:design:23.0.1'


}

You problem seems to be because of the import of different versions of appcompat-v7 and design . 您的问题似乎是因为导入了不同版本的appcompat-v7design

Update the gradle import of design to version 23.2.1, like: design的gradle导入更新为版本23.2.1,例如:

compile 'com.android.support:design:23.2.1'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM