@[TOC]If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
这类问题大多数是因为下载代理国外的多数连不上,使用国内的代理库
替换以下repositories试试
repositories {
google()
maven { url ‘http://maven.aliyun.com/nexus/content/groups/public/’}
maven { url’https://maven.aliyun.com/repository/public/’ }
maven { url’https://maven.aliyun.com/repository/google/’ }
maven { url’https://maven.aliyun.com/repository/jcenter/’ }
maven { url’https://maven.aliyun.com/repository/central/’ }
jcenter()
}