I agree with Niklas. I changed the compile
to implementation
, but the warning was gone only after the change in the build.gradle(Project: .....)
before:
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.google.gms:google-services:3.0.0'
}
after:
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
classpath 'com.google.gms:google-services:3.2.0'
}