依赖关系解析在Circle CI上的构建过程失败:androidx.annotation

问题描述 投票:0回答:1

由于此错误,我的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构建无法正常工作。任何想法如何解决此问题?

scala sbt circleci
1个回答
0
投票

根据https://mvnrepository.com/artifact/androidx.annotation/annotation/1.1.0,此工件只能从Google存储库中获得。

© www.soinside.com 2019 - 2024. All rights reserved.