小白一枚,然后今天在做练习的时候发现,当我在项目中添加依赖库的时候,
dependencies {
provided fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:recyclerview-v7:25.1.0'
testCompile 'junit:junit:4.12'
}
然后Sync,
Error:(27, 0) Could not find method provided() for arguments [directory 'libs'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
然后...百度了一波,还是有点无能为力,求大神解救...
拜谢