https://www.jianshu.com/p/2bb0b6a7b479

https://www.jianshu.com/p/d175bef9770c

android stadio gradle问题

 

 

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :easeui.

android stadio gradle问题

 

      
      // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        google()
        jcenter(){
            url 'http://maven.aliyun.com/repositories/jcenter'
        }
        maven { url 'http://maven.aliyun.com/repositories/jcenter'}
        maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
        maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
        maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:4.0.0"

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        maven { url 'http://maven.aliyun.com/repositories/jcenter'}
        maven { url 'http://maven.aliyun.com/nexus/content/repositories/google' }
        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
}
      
      
      
      

 

相关文章:

  • 2022-12-23
  • 2021-06-12
  • 2021-07-29
  • 2021-11-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-15
  • 2021-10-29
  • 2021-08-06
  • 2022-01-08
  • 2021-08-15
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案