由于以下错误,我的Circle CI构建失败:
[error] sbt.librarymanagement.ResolveException: Error downloading androidx.annotation:annotation:1.1.0
[error] Not found
[error] Not found
[error] not found: /home/circleci/.ivy2/local/androidx.annotation/annotation/1.1.0/ivys/ivy.xml
[error] not found: https://repo1.maven.org/maven2/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
[error] at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:246)
[error] at lmcoursier.CoursierDependencyResolution.$anonfun$update$34(CoursierDependencyResolution.scala:215)
在本地,我的项目构建没有问题,所以不确定Circle CI构建为什么不起作用。有什么办法解决这个问题吗?
根据https://mvnrepository.com/artifact/androidx.annotation/annotation/1.1.0,此工件只能从Google存储库中获得。
您可能已将其添加为本地计算机上的解析程序?
resolvers += "google" at "https://maven.google.com/"