简体   繁体   English

Android-实施GCM时未显示令牌

[英]Android - Token not showed when implementing GCM

I'm following google's gide on implementing GCM ( using this files ) and I cannot see the token in the logkat: 我下面谷歌的纪德上(GCM实现使用本文件 ),我不能看到令牌在logkat:

Log.i(TAG, "GCM Registration Token: " + token);

in the RegistrationIntentService.java file 在RegistrationIntentService.java文件中

Please review #2 and #3 here . 在此处查看#2和#3。 It could be that your project cannot find the project number which is specified in the google-services.json file. 可能是您的项目找不到google-services.json文件中指定的项目编号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM