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

來源:互聯網
上載者:User

標籤:can   war   strong   npos   height   blog   action   androi   anon   


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 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?

android android-gradle android-support-library
shareimprove this question edited Jul 9 at 17:43   asked Jul 9 at 17:32Hari Krishnan1,39311733
  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.android.support:support-compat:25.4.0Failed 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.

shareimprove this answer answered Jul 9 at 17:40CommonsWare693k11916871732
 
    
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

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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.