Android Marshmallow error: GoogleService could not be initialized, status: 10, The expected resource is missing:

I have an android app. In this application, I implement a push notification from google GCM.It works much lower than Marshmallow. But when I open this application in Marshmallow, it does not open the application. An error message will appear.

GoogleService failed to initialize, status: 10, Missing expected resource: "R.string.google_app_id" to initialize Google services. Possible reasons are missing google-services.json or com.google.gms.google-services gradle plugin

Only I get this error for Marshmallow. But another version works well. I don’t understand what the problems are for Marshmallow. Please give me any suggestion how I can solve this error for Marshmallow.Thanks All.

+5
source share

Source: https://habr.com/ru/post/1239590/


All Articles