Caused by: org.gradle.api.InvalidUserCodeException: Build was configured to prefer settings reposito

Posted 安果移不动

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Caused by: org.gradle.api.InvalidUserCodeException: Build was configured to prefer settings reposito相关的知识,希望对你有一定的参考价值。

最新的项目结构依赖在这里

 

dependencyResolutionManagement 
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories 
        google()
        mavenCentral()
        jcenter() // Warning: this repository is going to shut down soon

        maven  url 'https://maven.aliyun.com/nexus/content/groups/public/' 
        maven  url 'https://nexus.anguomob.com/repository/total/' 
        maven 
            url 'https://artifact.bytedance.com/repository/pangle'
        
        // 友盟使用
        maven  url 'https://repo1.maven.org/maven2/' 
        //xupdate
        maven  url "https://jitpack.io" 
    

rootProject.name = "My Application"
include ':app'

以上是关于Caused by: org.gradle.api.InvalidUserCodeException: Build was configured to prefer settings reposito的主要内容,如果未能解决你的问题,请参考以下文章

Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘c

Caused by: org.gradle.api.InvalidUserCodeException: Build was configured to prefer settings reposito

Hang caused by GC

Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: /0.0.0.0:20880 Caused by: ja

Mathematical Problems Caused by CCD

Caused by SSLError