【发布时间】:2022-11-27 15:51:35
【问题描述】:
当我尝试构建我的 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? github.com/corouteam/GlideToVectorYou#how-to-use
标签: android gradle android-gradle-plugin gradle-plugin