由于此错误,我的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存储库中获得。