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.google.android.gms:play-services-gcm:8.4.0'
But I am getting the following error.
02-05 23:51:29.205 18410-18410/com.example.app E/GMPM: GoogleService failed to initialize, status: 10, Missing an expected resource: 'R.string.google_app_id' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
02-05 23:51:29.205 18410-18410/com.example.app E/GMPM: Scheduler not set. Not logging error/warn.
02-05 23:51:29.238 18410-18452/com.example.app E/GMPM: Uploading is not possible. App measurement disabled
Please help me to solve this issue.
I have configured my project with the following too
apply plugin: 'com.google.gms.google-services'
.
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.google.gms:google-services:1.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}