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

Source: Internet
Author: User


3down Votefavorite

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 a 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 '  ' 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 span class= "str" > ' com.android.support:support-compat:25.4.0 ' compile }     

What's wrong here?

Android Android-gradle Android-support-library
ShareImprove this question Edited Jul 9 at 17:43 Asked Jul 9 at 17:32Hari Krishnan1,3931
Add a Comment
1 answeractiveoldestvotes
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< Span class= "pun". android.:support-compat :25.4. 0failed to resolve Com.. Support:support-core -ui:25.4. 0                  

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

ShareImprove this answer answered Jul 9 at 17:40commonsware693k11916871732
It was recyclerview-v7:25.4.0. That is a typing error. And it works now. Thanks. –hari Krishnan Jul 9 at 17:47
Add a Comment

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.