关山初度尘未洗,策马扬鞭再奋蹄!这篇文章主要讲述安卓开发中的mave镜像设置相关的知识,希望能为你提供帮助。
【安卓开发中的mave镜像设置】抵达项目根部的build.gradle文件中,将下方有关maven添加进去即可:
buildscript {
repositories {
maven { url ‘http://maven.aliyun.com/nexus/content/groups/public/‘ }
maven { url ‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘ }
maven { url ‘http://maven.aliyun.com/nexus/content/repositories/google‘ }
maven { url ‘http://maven.aliyun.com/nexus/content/repositories/gradle-plugin‘ }
google()
jcenter()
}
dependencies {
classpath ‘com.android.tools.build:gradle:3.2.1‘
}
}allprojects {
repositories {
maven { url ‘http://maven.aliyun.com/nexus/content/groups/public/‘ }
maven { url ‘http://maven.aliyun.com/nexus/content/repositories/jcenter‘ }
maven { url ‘http://maven.aliyun.com/nexus/content/repositories/google‘ }
maven { url ‘http://maven.aliyun.com/nexus/content/repositories/gradle-plugin‘ }
google()
jcenter()
}
}
推荐阅读
- unity与android交互相关资料整理(U2A)
- AppleScript 实现短信自动转发
- Spring(MVC启动时的WebApplicationContext的关系)
- swapPairs
- Android连载20-静态注册实现开机启动
- abp Application层获取请求的Header内容
- T+手机端T+工作圈T+app如何同步连接T+账套()
- .net core 静态类获取appsettings
- 移动端开发基础13uni-app跨端开发注意事项