簡體   English   中英

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

[英]Could not resolve com.android.support.test.espresso:espressgit so-core:3.0.1

數小時前,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響應。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM