Could not find method implementation() for arguments [com.android.support:appcompat-v7:25.4.0] on object…android

后端 未结 4 1584
栀梦
栀梦 2021-01-14 04:40

I have to compile a project purchased on line. On importing it into android studio..it complained about the gradle version so i updated the distributionUrl to this dis

4条回答
  •  感动是毒
    2021-01-14 05:12

    1.Open the build.gradle file for your application. 2.Make sure that the repositories section includes a maven section with the "https://maven.google.com" endpoint. For example:

    allprojects {
        repositories {
            jcenter()
            maven {
                url "https://maven.google.com"
            }
        }
    }
    

提交回复
热议问题