Android Studio中配置aliyun Maven库 在项目的根build.gradle里面(不是module)buildscriptde对应位置添加配置: buildscript { repositories {
Android Studio中配置aliyun Maven库
在项目的根build.gradle里面(不是module)buildscriptde对应位置添加配置:
buildscript { repositories { maven { url 'Http://maven.aliyun.com/nexus/content/groups/public/' allowInsecureProtocol = true } maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' allowInsecureProtocol = true } maven { url 'http://maven.aliyun.com/nexus/content/repositories/Google' allowInsecureProtocol = true } maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' allowInsecureProtocol = true } google() jcenter() }}allprojects { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' allowInsecureProtocol = true } maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' allowInsecureProtocol = true } maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' allowInsecureProtocol = true } google() jcenter() }}
idea设置阿里云maven仓库镜像mirror_阿里云mirror-CSDN博客IDEA设置阿里云maven镜像mirror。重启项目,同步maven即可。https://blog.csdn.net/zhangphil/article/details/126898427
来源地址:https://blog.csdn.net/zhangphil/article/details/130264177
--结束END--
本文标题: Android Studio中配置aliyun maven库
本文链接: https://lsjlt.com/news/421635.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-01-21
2023-10-28
2023-10-28
2023-10-27
2023-10-27
2023-10-27
2023-10-27
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0