Android Marshmallow错误:GoogleService初始化失败,状态:10,缺少预期资源:

时间:2015-12-31 17:42:11

标签: android push-notification google-cloud-messaging android-6.0-marshmallow

我有一个Android应用程序。在这个应用程序中,我通过谷歌GCM实现推送通知。它在Marshmallow以下工作得很好。但是当我打开这个应用程序到Marshmallow然后它没有打开应用程序。它显示一条错误消息

  

GoogleService初始化失败,状态:10,缺少预期资源:' R.string.google_app_id'用于初始化Google服务。可能的原因是缺少google-services.json或com.google.gms.google-services gradle plugin

只有我为Marshmallow得到了这个错误。但是其他版本运行良好。不了解Marshmallow的问题。请给我任何建议如何解决Marshmallow.Thanks All的错误。

0 个答案:

没有答案