Well I'm getting an error, and I need a help from you my friends, I'll post my grandle and the error that is happening.
When I run my project it shows me the error message in biuld as follows.
Could not find method implementation () for arguments [com.android.support:cardview-v7:27.0.0] on repository container of type org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.
Please install the Android Support Repository from the Android SDK Manager.
My Grandle is like this !!
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
classpath 'com.google.gms:google-services:3.1.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven {
url 'https://maven.google.com'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
How do I fix this?