jpush-phonegap-plugin 获取不到ID


(Longkehuawei) #1

jpush-phonegap-plugin 初始化成功,注册不成功,获取不到ID


#2

看下客户端日志

监听注册成功事件: 怎样才能一次顺利的获取registrationID/设置别名


(Longkehuawei) #3
04-13 10:24:36.120 19396-19598/com.gky.ding E/art: No implementation found for int cn.jiguang.service.Protocol.GetSdkVersion() (tried Java_cn_jiguang_service_Protocol_GetSdkVersion and Java_cn_jiguang_service_Protocol_GetSdkVersion__)
04-13 10:24:36.121 19396-19598/com.gky.ding E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
04-13 10:24:36.121 19396-19598/com.gky.ding W/System.err: java.lang.UnsatisfiedLinkError: No implementation found for int cn.jiguang.service.Protocol.GetSdkVersion() (tried Java_cn_jiguang_service_Protocol_GetSdkVersion and Java_cn_jiguang_service_Protocol_GetSdkVersion__)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at cn.jiguang.d.a.a(Unknown Source)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at cn.jiguang.d.a.a(Unknown Source)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at cn.jpush.android.api.JPushInterface.init(SourceFile:110)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at cn.jiguang.cordova.push.JPushPlugin.initialize(JPushPlugin.java:68)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at org.apache.cordova.CordovaPlugin.privateInitialize(CordovaPlugin.java:57)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:171)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at org.apache.cordova.PluginManager.exec(PluginManager.java:122)
04-13 10:24:36.124 19396-19598/com.gky.ding W/System.err:     at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:57)
04-13 10:24:36.125 19396-19598/com.gky.ding W/System.err:     at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
04-13 10:24:36.125 19396-19598/com.gky.ding W/System.err:     at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
04-13 10:24:36.125 19396-19598/com.gky.ding W/System.err:     at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
04-13 10:24:36.125 19396-19598/com.gky.ding W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:110)
04-13 10:24:36.126 19396-19598/com.gky.ding W/System.err:     at android.os.Looper.loop(Looper.java:203)
04-13 10:24:36.127 19396-19598/com.gky.ding W/System.err:     at android.os.HandlerThread.run(HandlerThread.java:61)
04-13 10:24:36.129 19396-19598/com.gky.ding E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore
04-13 10:24:36.129 19396-19598/com.gky.ding W/JIGUANG-JCore: [JCoreInterface] JCore init failed

#4

(Longkehuawei) #5