我想将库添加到Android Studio,但我处理错误:

时间:2017-06-09 14:00:40

标签: android android-gradle

错误:(33,13)无法解决:com.github.traex.rippleeffect:library:1.3

this is build.gradle

1 个答案:

答案 0 :(得分:-1)

您应该在项目级gradle文件中添加mavenCentral repo,就像这样

buildscript {
repositories {
    mavenCentral()
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.3.2'

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

}