【在线等】JPush HBuilder Demo 与 HBuilder-Hello合并报错


(乐乐) #1

单独运行github上的demo做好配置是能够收到消息的这说明证书啥的是ok的,按照ios移植教程将jpush移植到最新版的HBuilder-Hello 运行成功但是一直报下面的错误,不知道怎么回事,项目临上线时间越来越近了这个已经弄了好几天了,望论坛大神给点帮助啊,非常感谢。

2017-04-28 10:15:52.724147 HBuilder[4696:1529275] [DYMTLInitPlatform] platform initialization successful
2017-04-28 10:15:53.032085 HBuilder[4696:1529086] ######===>>>>New Device Model:[iPhone8,1]
2017-04-28 10:15:53.060160 HBuilder[4696:1529262] Cannot make directory /var/mobile/Containers/Data/Application/C72050CD-E760-41BF-BA50-3830CE824D4B/Library/Pandora/apps/HelloH5/www: File exists
2017-04-28 10:15:54.540415 HBuilder[4696:1529086] baidu maponGetPermissionState--[230]
2017-04-28 10:15:54.581 | JPUSH | I - [JPUSHService] 
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:2.1.7--build:3----------
-----------------AppKey:08f44892bfbbaf921cd683ec----------------
----------------------------------------------------------------
2017-04-28 10:15:54.584023 HBuilder[4696:1529284] 2017-04-28 10:15:54.581 | JPUSH | I - [JPUSHService] 
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:2.1.7--build:3----------
-----------------AppKey:08f44892bfbbaf921cd683ec----------------
----------------------------------------------------------------
2017-04-28 10:15:54.586 | JPUSH | I - [JPUSHClientController] Action - setup
2017-04-28 10:15:54.586028 HBuilder[4696:1529284] 2017-04-28 10:15:54.586 | JPUSH | I - [JPUSHClientController] Action - setup
2017-04-28 10:15:54.605 | JPUSH | D - [JPUSHUserDefaultsController] read from old keychain data
2017-04-28 10:15:54.605577 HBuilder[4696:1529264] 2017-04-28 10:15:54.605 | JPUSH | D - [JPUSHUserDefaultsController] read from old keychain data
2017-04-28 10:15:54.683 | JPUSH | D - [JPUSHUserDefaultsController] no old content, set new appKey
2017-04-28 10:15:54.688126 HBuilder[4696:1529264] 2017-04-28 10:15:54.683 | JPUSH | D - [JPUSHUserDefaultsController] no old content, set new appKey
2017-04-28 10:15:54.805 | JPUSH | D - [JPUSHHttpSessionController] 获取当前设备网络的 wifi 或者 WWAN 信息
2017-04-28 10:15:54.805813 HBuilder[4696:1529284] 2017-04-28 10:15:54.805 | JPUSH | D - [JPUSHHttpSessionController] 获取当前设备网络的 wifi 或者 WWAN 信息
2017-04-28 10:15:54.811042 HBuilder[4696:1529264] Metal GPU Frame Capture Enabled
2017-04-28 10:15:54.813655 HBuilder[4696:1529264] Metal API Validation Enabled
2017-04-28 10:15:54.816436 HBuilder[4696:1529285] 2017-04-28 10:15:54.816 | JPUSH | D - [JPUSHHttpSessionController] wifi 信息:{
    "mac_address" = "d8:15:d:c3:19:40";
    ssid = "TP-LINK_C31940";
}
2017-04-28 10:15:54.816 | JPUSH | D - [JPUSHHttpSessionController] wifi 信息:{
    "mac_address" = "d8:15:d:c3:19:40";
    ssid = "TP-LINK_C31940";
}
2017-04-28 10:15:54.817 | JPUSH | D - [JPUSHPageFlow] trySetupSession
2017-04-28 10:15:54.816990 HBuilder[4696:1529283] 2017-04-28 10:15:54.817 | JPUSH | D - [JPUSHPageFlow] trySetupSession
2017-04-28 10:15:54.817 | JPUSH | D - [JPUSHPageFlow] setupSession
2017-04-28 10:15:54.880984 HBuilder[4696:1529284] 2017-04-28 10:15:54.817 | JPUSH | D - [JPUSHPageFlow] setupSession
2017-04-28 10:15:54.882 | JPUSH | D - [JPUSHPageFlow] resetCurrentPage
2017-04-28 10:15:54.882370 HBuilder[4696:1529284] 2017-04-28 10:15:54.882 | JPUSH | D - [JPUSHPageFlow] resetCurrentPage
2017-04-28 10:15:55.114025 HBuilder[4696:1529086] Getui Sdk client has been registered as: f674b65a4250243268c985b8fe7523ce
2017-04-28 10:15:55.571869 HBuilder[4696:1529086] GeTuiSdk--onRevDeviceToken[9E423F27392FCBC4EA7206E27ED61BAC9C2277C544FFBB0B70BCE2A3F009DB68]
2017-04-28 10:15:56.883 | JPUSH | W - [JPUSHClientController] 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-04-28 10:15:55.571869 HBuilder[4696:1529086] GeTuiSdk--onRevDeviceToken[9E423F27392FCBC4EA7206E27ED61BAC9C2277C544FFBB0B70BCE2A3F009DB68]
2017-04-28 10:15:56.883 | JPUSH | W - [JPUSHClientController] 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-04-28 10:15:56.883111 HBuilder[4696:1529262] 2017-04-28 10:15:56.883 | JPUSH | W - [JPUSHClientController] 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-04-28 10:15:58.883 | JPUSH | W - [JPUSHClientController] 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-04-28 10:15:58.883172 HBuilder[4696:1529283] 2017-04-28 10:15:58.883 | JPUSH | W - [JPUSHClientController] 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-04-28 10:16:00.886 | JPUSH | W - [JPUSHClientController] 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-04-28 10:16:00.887539 HBuilder[4696:1529264] 2017-04-28 10:16:00.886 | JPUSH | W - [JPUSHClientController] 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-04-28 10:16:02.883 | JPUSH | W - [JPUSHClientController] 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-04-28 10:16:02.883467 HBuilder[4696:1529262] 2017-04-28 10:16:02.883 | JPUSH | W - [JPUSHClientController] 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-04-28 10:16:04.885 | JPUSH | W - [JPUSHClientController] 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-04-28 10:16:04.886026 HBuilder[4696:1529263] 2017-04-28 10:16:04.885 | JPUSH | W - [JPUSHClientController] 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.

#2

(乐乐) #3

JPush_Support 这个文件里的方法都没有运行,是在那个文件里注册的起始调用呢,下面这个也是配了的,是还要在那个文件里没写什么吗,


#4

关于上面的报错,麻烦根据我提供的链接中的说明来排查
关于Hbuilder,请按照readme说明进行且注意