org.gradle.api.resources.ResourceException: Could not get resource in Android Studio 3.2

后端 未结 3 943
执笔经年
执笔经年 2020-12-24 11:03

I tried to sync the gradle and I got this problem. Can anyone help me?

org.gradle.api.resources.ResourceException: Could not get resource \'http         


        
3条回答
  •  暖寄归人
    2020-12-24 11:30

    You need to write this in your app gradle file

    classpath 'com.android.tools.build:gradle:3.4.1'
    
    
        allprojects {
        repositories {
            jcenter()
            maven {
                url "https://maven.google.com"
            }
        }
    }
    

    May be it's work

提交回复
热议问题