Failed to resolve com.android.support:support-compat:25.4.0


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?

share improve this question
 

1 Answer

up vote 16down 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.

share 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

转载于:https://www.cnblogs.com/weizhxa/p/8120432.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值