buildscript {    repositories {        maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}  //使用阿里云镜像替换原有的jecter()    }    dependencies {        classpath 'com.android.tools.build:gradle:2.2.2'        classpath 'com.jakewharton:butterknife-gradle-plugin:8.5.1'        classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'        // 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/'} //使用阿里云镜像替换原有的jecter()        maven { url 'https://www.jitpack.io' }        maven { url 'https://maven.google.com' }        maven { url "https://dl.gooqle.com/dl/android/maven2/"}    }}
task clean(type: Delete) {    delete rootProject.buildDir}

更多相关文章

  1. 阿里巴巴Android(安卓)技术规范文档知识点(个人认为有用的)
  2. Android(安卓)studio 3.5.3 第一次启动卡在gradle sync,run是灰色
  3. Android(安卓)Studio 项目gradle构建 仓库切换国内阿里源。
  4. Android移动热修复--Sophix
  5. Android(安卓)Stuido无法下载jcenter库
  6. Android(安卓)Studio Gradle Sync同步慢问题
  7. 【Android导航决 君子生非异也 善假于物也】优秀博客
  8. Android(安卓)Studio 新建项目一直在 Gradle Sync 的问题
  9. Gradle 修改 Maven 仓库地址

随机推荐

  1. Android Framework AIDL的使用
  2. Android(安卓)UI开发第二十一篇――下拉
  3. Android(安卓)PopupWindow 实现自定义弹
  4. android EditText 对输入字数和内容范围
  5. 推送sdk (类似百度 推送 ) android mina (
  6. android屏幕刷新显示机制
  7. android 选择本地图片并截剪图片保存到,sd
  8. Android的Activity生命周期模拟程序及解
  9. AOSP和Chromium的Android WebViewTest
  10. 解决android模拟器无法上网问题