時間前Gradleの同期がしかし一瞬前に、テストの依存関係がダウンロードに失敗し、うまく機能しcom.android.support.test.espressoを解決できませんでした:SO-コアespressgit:3.0.1
は取得できませんでした。 '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'
}