Signed APK is getting below Error
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.
when i run the same code with Dubug.APK its working fine.
below is build.gradle file
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.gms:play-services-analytics:8.4.0' }}apply plugin: 'com.google.gms.google-services''
You have miss to add google-service.json file. As I know you have created your app on google Developer from there you need to download the google-service.json file and put it into your app folder
Step for putting google-service.json to app folder:
1) in android studio double tap the shift button and search for terminal 2) $ mv path-to-download/google-services.json app/ for Ubuntu/MAC OS 3) For google-service.json use generate file button from this link
for more detail please refer below link GoogleService failed to initialize