Unsupported Gradle DSL method found: 'exclude()'

前端 未结 1 672
野的像风
野的像风 2020-12-13 12:26

If:

dependencies {
    compile \'com.google.code.gson:gson:2.2.4\'
    compile \'de.keyboardsurfer.android.widget:crouton:1.8.3\'
    compile \'de.greenrobot         


        
相关标签:
1条回答
  • 2020-12-13 13:12

    Use

    compile (project(':Android-UndoBar')) {
            exclude group: 'com.nineoldandroids', module: 'library' // without or without this one
        }
    

    So with extra parentheses.

    0 讨论(0)
提交回复
热议问题