如何解决,发现阿里云有镜像,只需要添加相应的url地址就可以下载;打开项目build gradle文件。

buildscript {        repositories {        maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}        google()        jcenter()    }    dependencies {        classpath 'com.android.tools.build:gradle:3.3.1'                 // 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/'}        google()        jcenter()    }}

更多相关文章

  1. 万字长文带你了解最常用的开源 Squid 代理服务器
  2. Linux x86 编译 Android(安卓)遭遇 gnu/stubs-64.h
  3. android手机通过USB共享电脑网络
  4. Android(安卓)API 23中废弃了HttpClient的解决办法
  5. 运行Android(安卓)studio报错com.google.android.gms:play-servi
  6. 实验五 迭代法解线性方程组与非线性方程(android)
  7. [转] Android(安卓)检测电源按钮是否被按下
  8. android 通过经纬度获取地址信息
  9. 据说年薪30万的Android程序员必须知道的帖子

随机推荐

  1. android 记录所有打开的Activity,退出程序
  2. ANDROID Porting系列八、Keymaps and Key
  3. android webview goback 跳过页面302自动
  4. Android底部虚拟按键遮挡应用
  5. Android绘图之SweepGradient(10)
  6. 给View设置独立border
  7. Android中AutoCompleteTextView控件的使
  8. Android 判断动画结束
  9. Android绘制三角形实现带小三角的PopupWi
  10. SQLite多线程操作数据库