无法找到(包名)。在以下位置中搜索:

6

当我尝试构建我的Android项目时,我遇到了这个问题:

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.github.corouteam:GlideToVectorYou:v2.0.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/corouteam/GlideToVectorYou/v2.0.0/GlideToVectorYou-v2.0.0.pom
       - https://jcenter.bintray.com/com/github/corouteam/GlideToVectorYou/v2.0.0/GlideToVectorYou-v2.0.0.pom
       - https://jitpack.io/com/github/corouteam/GlideToVectorYou/v2.0.0/GlideToVectorYou-v2.0.0.pom
     Required by:
         project :app

错误信息

如何通过下载上面的软件包来解决这个问题?

以前它一直很好用。 但是,当我尝试将版本号降级到1.2.0时,它运行正常。 因此,问题似乎出在版本2.0.0上。


你是否按照 Github 仓库中的说明添加了 jitpack?https://github.com/corouteam/GlideToVectorYou#how-to-use - Javlon
@Javlon 是的,已经尝试了。但仍然面临相同的问题。 - Amer Saeed
1个回答

14

2
感谢修复。GitHub 上这个令人烦恼的更改让我们很困惑,也导致了构建失败。 - w0mbat
1
目前这个新链接也不起作用... - Peter Suwara
这个是有效的,只需要在settings.gradle中添加maven { url "https://jitpack.io" }即可。 - Ivette
终于!非常感谢。 - peceps
终于!非常感谢。 - undefined

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接