question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error using com.google.gms: google-services: 4.3.0 (and 4.3.1)

See original GitHub issue

With Android Studio 3.4.1

Previously I used com.google.gms: google-services: 4.2.0 but Android Studio told me there was a new update, then update to the new version com.google.gms: google-services: 4.3.0 and now I get a warning every time I compile my project, it makes me nervous to see errors when compiling.

This is the warning message I get:

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:38
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

7reactions
Errore418commented, Aug 23, 2019

Since #62 got merged and released as part of 4.3.1, is this still and issue?

Yes, i still have the warning.

7reactions
colinrtwhitecommented, Jul 14, 2019

I’ve forked the Google Play Services Plugin here and merged @jzbrooks’s PR which fixes this issue.

To use it add JitPack to your list of repositories:

buildscript {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

And replace the plugin in your list of dependencies:

buildscript {
    dependencies {
        // Replace "classpath 'com.google.gms:google-services:4.3.0'" with:
        classpath 'com.github.colinrtwhite:google-services:9da6686'
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error using com.google.gms: google-services: 4.3.4
I am trying to connect Firebase project to my app. But when I add "classpath" com.google.
Read more >
The Google Services Gradle Plugin
The google-services plugin has two main functions: Process the google-services.json file and produce Android resources that can be used in your application's ...
Read more >
Firebase Android SDK Release Notes
Google Play services plugin, com.google.gms:google-services, 4.3.14 ... Removed invalid suggestions to use GenericTypeIndicator from error messages.
Read more >
`google-services:4.3.12` does not work with `firebase ...
Versions. Google Services Gradle plugin: com.google.gms:google-services:4.3.12; Firebase Crashlytics plugin: com ...
Read more >
Plugin with id 'com google gms google services' not found
error with Plugin with id ' com google gms google services ' not found in android studio-~-~~-~~~-~~-~-Please watch: "ዳኘ ዋለ ለብልበው ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found