【问题标题】:Could not find (Package name). Searched in the following locations:找不到(包名称)。在以下位置搜索:
【发布时间】: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

`

Error message

如何通过下载上面的包解决问题?

以前,它工作正常。但是,当我尝试将版本号降级到 1.2.0 时。它工作正常。因此,问题似乎与 2.0.0 版有关。

【问题讨论】:

标签: android gradle android-gradle-plugin gradle-plugin


【解决方案1】:

工件主机已更改为https://jitpack.io/#2coffees1team/GlideToVectorYou。代替 com.github.corouteam:GlideToVectorYou:v2.0.0com.github.2coffees1team:GlideToVectorYou:v2.0.0

学分:https://github.com/corouteam/GlideToVectorYou/issues/18#issuecomment-1324610503

【讨论】:

    猜你喜欢
    • 2019-04-17
    • 2019-03-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-03-02
    • 2020-06-29
    相关资源
    最近更新 更多