Not get deviceToken yet. Maybe: your certificate not configured APNs? or current network is not so good so APNs registration failed? or there is no APNs register code? Please refer to JPush docs.”

 

今天在项目中集成了极光推送,一切都配置完毕,把程序运行起来的时候,报了下面的错误: 

Not get deviceToken yet. Maybe: your certificate not configured APNs? or current network is not so good so APNs registration failed?  or there is no APNs register code? Please refer to JPush docs.”

我上网查了一下,网上有很多答案,但是我明明都配置好了的,网上的答案有一个给我了启发: 

网络问题,当我重启了网络之后,就好了,所以,同学们,如果你也遇到这个问题的话,记得检查你的

网络是否畅通,不要多走弯路哦

 

            李洪强  

            2017年6月9日  北京  

原文地址:https://www.cnblogs.com/LiLihongqiang/p/6972738.html