7

I am trying to build and run this repository augmented-images and I encounted this error.

Caused by: java.lang.RuntimeException: Error creating sfa.

Which drill down to this warning Warning ! API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.

More from the build log analysis I see the following errors ERROR: Failed to import 'sampledata/airplane/Airplane.obj'

I tried to find where this

variant.getMergeResources()

is used so I can replace it but no luck.

Please assist maybe I need to update the plugin. Which steps should I follow that is what I suspect will be the solution.

Cockpit Aliens
  • 411
  • 6
  • 18

2 Answers2

12

Changing classpath 'com.google.gms:google-services:4.3.0' to classpath 'com.google.gms:google-services:4.2.0' works for now..

Darshan
  • 4,020
  • 2
  • 18
  • 49
0

Now it is fixed with the release 'com.google.gms:google-services:4.3.2'

This issue is caused by the versions of the Google Services pluigin for gradle 4.3.0 and 4.3.1.

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841