JZTXT
  • 首页
  • Ai
  • Java
  • Python
  • Android
  • Mysql
  • JavaScript
  • Html
  • CSS

Gradle下载慢

发布时间 2023-10-17 10:53:05作者: Lee597

两种解决方式

1、
复制

repositories {
maven{url 'https://maven.aliyun.com/nexus/content/groups/public/'}
mavenCentral()
}

覆盖原本build.gradle中对应的内容


2、

复制

repositories {
maven{
allowInsecureProtocol = true
url 'http://maven.aliyun.com/nexus/content/groups/public/'}
mavenCentral()
}


覆盖原本build.gradle中对应的内容





感谢参考博客:
Gradle报错Could not resolve all dependencies for configuration ‘:detachedConfiguration7‘.-CSDN博客




    本栏目推荐文章
  • flutter android grandle buid.gradle
  • android编译kanzi 问题 (3) Build command failed.ninja: error: '../../../../../../lib/android_gradle/ES3_Release/arm64-v8a/xxxxx.so', needed by 'xxxxxx.so', missing and no known rule to make it
  • android编译kanzi 问题 (2) Gradle sync failed: NDK not configured. Download it with SDK manager. Preferred NDK version is '21.1.6352462'.
  • gradle中配置文件顶层、buildscript节点中和allprojects节点中的reppositories配置有什么区别
  • idea配置gradle国内镜像源
  • maven与gradle
  • gradle 加速
  • Gradle安装
  • gradle构建项目时碰到的问题
  • java gradle repositories
版权声明:本网站为非赢利性站点,本网站所有内容均来源于互联网相关站点自动搜索采集信息,相关链接已经注明来源。
联系我们