5

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

Saran Sankaran
  • 2,065
  • 2
  • 19
  • 33

1 Answers1

10

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

Chrisvin Jem
  • 3,706
  • 1
  • 7
  • 24