Out of nowhere I got this error:
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not download library-1.8.aar (com.nbsp:library:1.8)
Show Details
Affected Modules: app
This is my app gradle file:
android {
compileSdkVersion 30
defaultConfig {
applicationId "..."
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
implementation 'com.nbsp:library:1.8'
implementation 'com.android.volley:volley:1.2.0'
implementation 'androidx.appcompat:appcompat:1.3.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.android.material:material:1.3.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
}
It worked fine yesterday but today when I opened Android Studio, I got this error. I've searched, but not find a solution. I don't know why it's showing me this, also Show Details link doesn't work.