我Android Studio中工作,當我加入的build.gradle文件中的行搖籃DSL方法未找到: '不包括()'
dependencies {
compile files('libs/poi-ooxml-schemas-3.12-20150511-a.jar'){
exclude group: 'stax', module: 'stax-api'
}
}
我趕上了錯誤:
Gradle DSL method not found: 'exclude()'
錯誤的原因是什麼?
如果你只是在拉一個文件,不要認爲排除可以使用。文件沒有依賴關係 –
@tim_yates,謝謝。也許你是對的。 – Delphian