Com.google.android.gms:play-services-gcm:8.4.0 Leads To Error
In my project I was using the following version of GCM library. compile 'com.google.android.gms:play-services-gcm:7.8.0' Now I update it in to the following version compile 'com.g
Solution 1:
Newer versions of GoogleServices require a JSON file that contains configuration information about your app and account.
Follow the instructions provided here.
You might also see better results by upgrading to the latest build tools (as of 5 Feb 2016):
buildToolsVersion "23.0.2"
and
classpath 'com.android.tools.build:gradle:2.0.0-beta2'
classpath 'com.google.gms:google-services:2.0.0-beta2'
The new tools expect the google-services plugin to be applied at the bottom of the build file, as shown in this example. FWIW, I'm building with these settings and not seeing the error.
Additional information about the google-services.json
file, with troubleshooting tips, is provided here.
Post a Comment for "Com.google.android.gms:play-services-gcm:8.4.0 Leads To Error"