报错JPushInterface.onResume() must be called after called JPushInterface.onPause,收不到消息

jpushtest
2016-09-22 09:40 744 0

E/JPush: [e] JPushInterface.onResume() must be called after called JPushInterface.onPause() and JPushInterface.onResume should not be called more time in last Activity or Fragment
sdk版本是2.1.0

2个回答

热门排序
  • 谢谢,问题已经找到了 ,项目转移到as过程中,没检查仔细配置文件

  • JPushInterface.onResume() 和 JPushInterface.onPause() 是统计分析API接口,你需要在你的主activity中增加即可,或者父类activity中,其它子类activity中不要重复添加。