Skip to main content

Configuration 'compile' is obsolete and has been replaced with 'implementation'. It will be removed at the end of 2018

just add it in your main gradel file 


and add this in your project gradel


dependencies {
    classpath 'com.android.tools.build:gradle:3.1.0'    classpath 'com.google.gms:google-services:3.2.0'    
    // NOTE: Do not place your application dependencies here; they belong    // in the individual module build.gradle files}

repositories {
    jcenter()

    maven {
        url "https://jitpack.io"    }
}