I am trying to include this library to my project by adding

compile 'jp.wasabeef:recyclerview-animators:2.2.7'

to the dependencies. When the graddle sync happens an error produced like below

Failed to resolve com.android.support:support-recycleriew-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

The graddle dependencies looks like

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'

}

What is wrong here?

improve this question
 
add a comment
up vote16down voteaccepted
Failed to resolve com.android.support:support-recycleview:25.4.0

There is no library by that name. There is 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

These are in the new Google Maven repo. Add maven { url "https://maven.google.com" } to your repositories closure, as shown in the documentation.

improve this answer
 
    
it was recyclerview-v7:25.4.0. That was a typing error. and it works now. thanks. – Hari Krishnan Jul 9 at 17:47
add a comment

相关文章:

  • 2021-12-10
  • 2021-08-11
  • 2021-08-06
  • 2021-10-21
  • 2022-12-23
  • 2021-08-30
  • 2022-12-23
  • 2021-07-06
猜你喜欢
  • 2022-12-23
  • 2021-09-03
  • 2022-01-07
  • 2021-10-04
  • 2021-09-21
  • 2021-12-28
  • 2021-09-18
相关资源
相似解决方案