gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 05:10:49 25 4
gpt4 key购买 nike

数小时前,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响应。

关于android - 无法解析com.android.support.test.espresso:espressgit so-core:3.0.1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47650212/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com