Failed to resolve: recyclerview-v7
Finally I found a solution. Upgrading all the support dependencies to the latest version, solved the issue. You can check the latest version of dependencies here. I upgraded the support dependencies to the latest version 28.0.0-alpha3. It solved my problem.
Error:Failed to resolve: recyclerview-v7
wooooooooow I finally resolved my problem.
i don't Know.but the problem was from maven google().
i removed google() and add
maven {
url 'https://maven.google.com'
}
Instead of.
i solve my problem from this Link
this is my project gradle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
maven {
url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases/'
}
maven {
url 'http://dl.bintray.com/amulyakhare/maven'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.jakewharton:butterknife-gradle-plugin:8.8.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
//google()
maven {
url 'https://maven.google.com'
}
jcenter()
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Failed to resolve: com.android.support:recyclerview-v7:28.1.1
That's because there is no 28.1.1 version. The latest one is 28.0.0 so use that. Add this:
implementation 'com.android.support:recyclerview-v7:28.0.0'
instead of:
implementation 'com.android.support:recyclerview-v7:28.1.1'
You can check the latest version or all the versions ever released here
Update:
Android is moving away from Android AppCompat Library to Androidx.
Going forward you should ideally use these libraries as all the new updates will be for them. To use it include
implementation 'androidx.appcompat:appcompat:1.2.0'
and instead of
implementation 'com.android.support:recyclerview-v7:28.1.1'
use
implementation 'androidx.recyclerview:recyclerview:1.1.0'
for recyclerview.
Again, You can check the latest version or all the versions ever released of Androidx Appcompat here
Failed to resolve RecyclerView version 23
You have to update the SDK Manager.
Then use the latest
compile 'com.android.support:recyclerview-v7:23.2.1'
Related Topics
A Pre-Populated Database Does Not Work at API 28 Throws "No Such Table" Exception
Android Layout with Square Buttons
Fcm Remote Notifications Payload for iOS and Android
How to Add Padding Between Menu Items in Android
How to Use Std::Stoul and Std::Stoull in Android
Background-Attachment: Fixed Interfering with Background-Size
Android Add Image to Webview from a Drawable
How to Update Google Play Services for Android Studio 2.2 Emulators
Android Webview Cannot Render Youtube Video Embedded via Iframe
Using Multiple Text Colors in Android's Textview [ HTML.Fromhtml() ]
How to Parse JSON Array Without Any Object in Retrofit
Clearing Notification After a Few Seconds
Android Browser Textarea Scrolls All Over The Place, Is Unusable
Can an Android Device Act as an Ibeacon