修改build.gradle,以下是原本的配置信息

buildscript {

repositories {

google()

jcenter()

}

dependencies {

classpath 'com.android.tools.build:gradle:3.1.4'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

}

}

allprojects {

repositories {

google()

jcenter()

}

}

task clean(type:Delete) {

delete rootProject.buildDir

}

修改成以下的配置信息

buildscript{

repositories{

maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }

maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}

google()

}

dependencies{

classpath'com.android.tools.build:gradle:3.1.4'

// NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

}

}

allprojects{

repositories{

maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }

        maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}

}

}

task clean(type: Delete) {

delete rootProject.buildDir

}

最新文章

  1. ASP.NET Core 中文文档 第四章 MVC(4.6)Areas(区域)
  2. java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12
  3. 流编辑器-sed
  4. outlook经常无故崩溃解决办法
  5. Linux入门基础 #8:Linux拓展权限
  6. Web安全概述
  7. Eclipse如何将java项目改为web项目
  8. C# 实现登录并跳转界面
  9. [转载] java多线程总结(一)
  10. Cs231n课堂内容记录-Lecture2-Part2 线性分类
  11. RocketMQ RPC
  12. 【网络安全】SSLSplit实现中间人攻击
  13. VoiceXML标识元素及其属性
  14. Hibernate的核心对象关系映射
  15. InnerClass annotations are missing corresponding EnclosingMember annotations. Such InnerClas...
  16. 【译】第十一篇 Integration Services:日志记录
  17. 深度学习开源库tiny-dnn的使用(MNIST)
  18. vue $http请求服务
  19. PHP 5.5.38 + mysql 5.0.11 + zabbix3.0 + nginx 安装
  20. linux系统基础之--进程计划(基于centos7.4 1708)

热门文章

  1. 安装部署Spark 1.x Standalone模式集群
  2. springboot+https+http
  3. (三)MongoDB增、删、改、查
  4. Clion中配置使用更大的栈(防止开大一点的数组异常)
  5. Spring Boot 2.0 整合携程Apollo配置中心
  6. 性能测试基础---事务&检查点&思考时间&集合点
  7. 项目Beta冲刺(团队)——05.25(3/7)
  8. MySQL 8.x 函数和操作符,官方网址:https://dev.mysql.com/doc/refman/8.0/en/functions.html
  9. Python下编写Windows自动化测试软件
  10. ssh ssm ssi 服务器平台架构