无法解析 com.android.support.test.espresso:espressgit so-core:3.



小时前 gradle 同步运行良好,但是片刻前,测试依赖项下载失败

无法获得"http://oss.jfrog.org/artifactory/oss-snapshot-local/com/android/support/test/espresso/espressgit%20so-core/3.0.1/espressgit%20so-core-3.0.1.pom"。从服务器接收状态代码 409:冲突

{
errors: [
{
status: 409,
message: "The repository 'oss-snapshot-local' rejected the resolution of an artifact 'oss-snapshot-local:com/android/support/test/espresso/espressgit so-core/3.0.1/espressgit so-core-3.0.1.pom' due to conflict in the snapshot release handling policy."
} ]
}

删除它们解决了问题,但我想保留浓缩咖啡依赖项。

androidTestImplementation 'com.android.support.test.espresso:espressgit so-core:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
}
androidTestImplementation 'com.android.support.test.espresso:espresso-contrib:3.0.1', {
exclude group: 'com.android.support', module: 'support-annotations'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'design'
exclude group: 'com.android.support', module: 'recyclerview-v7'
}

我认为您在构建脚本中键入了git ssgit,而您认为焦点在终端中。

仔细观察依赖关系,它说espressgit so-core但可能应该espresso-core然后从 android 支持存储库解析,而不是到达 jfrog 存储库,该存储库以 409 whyever 响应。

最新更新