android - Could not find com.github.kk121:File-Loader:1.2. while building app gives this error
问题描述
Could not find com.github.kk121:File-Loader:1.2. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/kk121/File-Loader/1.2/File-Loader-1.2.pom - https://repo.maven.apache.org/maven2/com/github/kk121/File-Loader/1.2/File-Loader-1.2.pom - https://jcenter.bintray.com/com/github/kk121/File-Loader/1.2/File-Loader-1.2.pom Required by: project :app
how solve this error
解决方案
使用 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
}
推荐阅读
- python-3.x - ModuleNotFound 导致 502 在 aws lambda 上使用 zappa 部署 django
- javascript - 分配给 window.location 的代码是否容易受到 XSS 攻击?
- python - Django - 与系统不同 - 如何更改按钮颜色以不喜欢?
- vb.net - 如何加快从 RichTextBox 中提取单词的速度?
- c++ - c++比较运算符重载
- node.js - 将 Quasar SSR vue/node 应用程序部署到 Firebase 托管
- bash - grep regex 每行的第二个单词并替换
- php - 单独放置在另一个域上的文件上的 PHP 变量
- php - 为什么我的日期创建在 php 中不起作用?
- r - 如何在 r 中重新制定其他函数