如何解决此问题“无法解析‘:app@debug/compileClasspath’的依赖关系:

当我在 gradle 中添加依赖项时,它显示错误:

无法解析“:app@debug/compileClasspath”的依赖:无法解析 com.github.Goodiebag:PinView:v1.3。打开文件显示详细信息

无法解析“:app@debugAndroidTest/compileClasspath”的依赖关系:无法解析 com.github.Goodiebag:PinView:v1.3。打开文件显示详细信息

无法解析“:app@debugUnitTest/compileClasspath”的依赖关系:无法解析 com.github.Goodiebag:PinView:v1.3。打开文件显示详细信息

无法解析“:app@release/compileClasspath”的依赖:无法解析 com.github.Goodiebag:PinView:v1.3。打开文件显示详细信息

无法解析“:app@releaseUnitTest/compileClasspath”的依赖:无法解析 com.github.Goodiebag:PinView:v1.3。打开文件显示详细信息

我的依赖在这里:

implementation fileTree(include: ['*.jar'], dir: 'libs')

    implementation 'com.android.support:appcompat-v7:27.+'

    implementation 'com.android.support.constraint:constraint-layout:1.1.2'

    implementation 'com.android.support:support-v4:27.1.1'

    implementation 'com.android.support:design:27.1.1'

    testImplementation 'junit:junit:4.12'

    implementation 'com.android.volley:volley:1.1.1'


    implementation 'com.github.Goodiebag:PinView:v1.3'//this one is showing error


    /*implementation 'dev.dworks.libs:volleyplus:0.1.4'*/

    /*implementation 'dev.dworks.libs:volleyplus:+'*/

    androidTestImplementation 'com.android.support.test:runner:1.0.2'

    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

这是我的 build.gradle(项目可认知)


allprojects {

    repositories {

        google()

        jcenter()

        maven{ url "https://jitpack.io" }

    }

}


繁花如伊
浏览 392回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java