一瞬间,我们与zendesk的集成就停止了,即使是在旧的稳定版本上也是如此
错误是:

Could not find com.zendesk:support:3.0.3.

我的模块的存储库配置为依赖项之前所述的文档:
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url "https://jitpack.io" }
mavenCentral()
maven {
    url 'https://maven.google.com/'
    name 'Google'
}
maven {
    url "https://linphone.org/releases/maven_repository/"
}
maven { url 'https://zendesk.jfrog.io/zendesk/repo' }

}

这是依赖性
implementation group: 'com.zendesk', name: 'support', version: '3.0.3'

完整错误:
> Could not find com.zendesk:support:3.0.3.
 Searched in the following locations:
   - file:/Users/user/Library/Android/sdk/extras/m2repository/com/zendesk/support/3.0.3/support-3.0.3.pom
   - file:/Users/user/Library/Android/sdk/extras/m2repository/com/zendesk/support/3.0.3/support-3.0.3.jar
   - file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/zendesk/support/3.0.3/support-3.0.3.pom
   - file:/Users/user/Library/Android/sdk/extras/google/m2repository/com/zendesk/support/3.0.3/support-3.0.3.jar
   - file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/zendesk/support/3.0.3/support-3.0.3.pom
   - file:/Users/user/Library/Android/sdk/extras/android/m2repository/com/zendesk/support/3.0.3/support-3.0.3.jar
   - https://jcenter.bintray.com/com/zendesk/support/3.0.3/support-3.0.3.pom
   - https://jcenter.bintray.com/com/zendesk/support/3.0.3/support-3.0.3.jar
   - file:/Users/user/waytoproj/libs/support-3.0.3.jar
   - file:/Users/user/waytoproj/libs/support.jar
   - https://zendesk.artifactoryonline.com/zendesk/repo/com/zendesk/support/3.0.3/support-3.0.3.pom
   - https://zendesk.artifactoryonline.com/zendesk/repo/com/zendesk/support/3.0.3/support-3.0.3.jar
   - https://maven.fabric.io/public/com/zendesk/support/3.0.3/support-3.0.3.pom
   - https://maven.fabric.io/public/com/zendesk/support/3.0.3/support-3.0.3.jar
   - https://jitpack.io/com/zendesk/support/3.0.3/support-3.0.3.pom
   - https://jitpack.io/com/zendesk/support/3.0.3/support-3.0.3.jar
   - https://linphone.org/releases/maven_repository/com/zendesk/support/3.0.3/support-3.0.3.pom
   - https://linphone.org/releases/maven_repository/com/zendesk/support/3.0.3/support-3.0.3.jar
   - https://dl.google.com/dl/android/maven2/com/zendesk/support/3.0.3/support-3.0.3.pom
   - https://dl.google.com/dl/android/maven2/com/zendesk/support/3.0.3/support-3.0.3.jar
   - https://repo.maven.apache.org/maven2/com/zendesk/support/3.0.3/support-3.0.3.pom
   - https://repo.maven.apache.org/maven2/com/zendesk/support/3.0.3/support-3.0.3.jar

而且,正如我所说,旧的成功构建也将在重建后被破坏。因此,看起来存储库有问题。

最佳答案

我找到答案
在主应用程序模块中,我找到了另一个存储库:

maven { url 'https://zendesk.artifactoryonline.com/zendesk/repo' }

我猜它有一些问题,此刻不起作用

关于android - 无法解析Zendesk库,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/61084506/

10-12 00:30