I have the same warning caused by com.google.gms: google-services.
Solution: update classpath com.google.gms: google-services to classpath 'com.google.gms: google-services: 3.2.0' in the file in build.gradle Project:

buildscript { repositories { jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:3.1.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files classpath 'com.google.gms:google-services:3.2.0' } } allprojects { repositories { jcenter() google() } } task clean(type: Delete) { delete rootProject.buildDir }
In the submenu of version 3.1 of version 7.5 for Android Studio is replaced by an implementation
with warning in android 3.0 studio
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:27.1.0' compile 'com.android.support.constraint:constraint-layout:1.0.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' }
OK dependencies in Android 3.0 studio
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:27.1.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' }
Gradel is generating Android Studio 3.1 for a new project.

Visit https://docs.gradle.org/current/userguide/dependency_management_for_java_projects.html
Read more https://docs.gradle.org/current/userguide/declaring_dependencies.html
Good luck.
source share