【问题标题】:Could not find com.github.kk121:File-Loader:1.2. while building app gives this error找不到 com.github.kk121:File-Loader:1.2。构建应用程序时出现此错误
【发布时间】:2021-10-22 11:27:05
【问题描述】:

【问题讨论】:

  • 您可以发布您的app/build.gradle 文件吗?

标签: android gradle


【解决方案1】:

使用 Android Studio 北极狐 2020.3.1

不要在您的项目级 gradle 文件中添加 maven { url "https://jitpack.io" },而是将其添加到 settings.gradle

settings.gradle

repositories {
        google()
        mavenCentral()
        maven { url "https://jitpack.io" }
        jcenter() // Warning: this repository is going to shut down soon
    }

【讨论】:

    猜你喜欢
    • 2016-01-17
    • 2015-11-03
    • 2022-06-11
    • 1970-01-01
    • 1970-01-01
    • 2022-06-15
    • 1970-01-01
    • 1970-01-01
    • 2019-03-20
    相关资源
    最近更新 更多