WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'. It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information. Affected Modules: app
As pointed out by Saran in the comments, there is no permanent solution for that as of now. It's a warning that you should be able to safely ignore for now.
You can try,
Changing
classpath 'com.google.gms:google-services:4.3.0'
to classpath'com.google.gms:google-services:4.2.0'
for now
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With