我的项目中无法导入库,总是出现以下错误:
Error:Configuration with name 'default' not found.
设置.gradle
include ':app'
include ':libraries:library'
构建等级
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:21.0.3'
compile project(':libraries:library')
}
我在用:
更新(不工作)
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.getbase:floatingactionbutton:1.4.0'
compile project(':libraries:library')
}
错误
Error:A problem occurred configuring project ':app'.
> Cannot evaluate module library : Configuration with name 'default' not found.