目录

Androidstuido3.0填坑记

目录
  • 升级Android stuido3.0时一直卡在一个multidex-1.0.2.pom的下载任务上

  • 解决方案,添加google()仓库即可

      // Top-level build file where you can add configuration options common to all sub-projects/modules.
      apply from:"config.gradle"
    
      buildscript {
      	repositories {
      		google()
      		jcenter()
      	}
      	dependencies {
      		classpath 'com.android.tools.build:gradle:3.0.0'
    
        // NOTE: Do not place your application dependencies here; they belong
       // in the individual module build.gradle files  classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin
        }
      }
    
      allprojects {
      	repositories {
      		jcenter()
      		google()
      		maven { url "https://jitpack.io" }
    
      	}
      }
    
      task clean(type: Delete) {
      	delete rootProject.buildDir
      }