无法解析com.android.support:support-compat:25.4.0

Har*_*nan 3 android android-support-library android-gradle-plugin

我试图通过添加将此库包含到我的项目中

compile 'jp.wasabeef:recyclerview-animators:2.2.7'
Run Code Online (Sandbox Code Playgroud)

依赖.当发生同步同步时,产生如下错误

无法解析com.android.support:support-recycleriew-v7:25.4.0

无法解析com.android.support:support-compat:25.4.0

无法解析com.android.support:support-core-ui:25.4.0

渐变依赖性看起来像

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:recyclerview-v7:25.4.0'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.volley:volley:1.0.0'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.5'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.5'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.5'
compile 'com.android.support:support-core-ui:25.4.0'
compile 'com.android.support:support-compat:25.4.0'
compile 'jp.wasabeef:recyclerview-animators:2.2.7'

}
Run Code Online (Sandbox Code Playgroud)

这有什么不对?

Com*_*are 17

Failed to resolve com.android.support:support-recycleview:25.4.0
Run Code Online (Sandbox Code Playgroud)

这个名字没有图书馆.有com.android.support:recyclerview-v7:25.4.0.

Failed to resolve com.android.support:support-compat:25.4.0
Failed to resolve com.android.support:support-core-ui:25.4.0
Run Code Online (Sandbox Code Playgroud)

这些都在新的Google Maven回购中.添加maven { url "https://maven.google.com" }到您的repositories闭包,如文档中所示.