E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]

android
标签: #<Tag:0x00007fb83fd06908>

(pruida) #1

直接Android stdio创建 gradle导入项目 报错
另外 有些手机不报错 报错手机型号 Meizu M2 Note


(pruida) #2

并没有 jniLibs目录


#3

(pruida) #4

我压根不是手动导入 直接就gradle下来的 没有jniLibs这个目录


(pruida) #5

而且不是所有手机收不到推送 目前只发现一款手机这样


(pruida) #6

这是成功的 而且展示的不是 Login Succeed 而是 status 200


#7

1、用jcenter自动集成请展开这个配置


2、你的Androidstudio的版本是多少

3、你出错的手机的Android系统版本是多少

4、该手机内是否有安装同包名的其他应用,请找到后删除

5、提供完整的该手机的客户端集成日志,从init开始,筛选jiguang。


(pruida) #8

电脑系统是mac 不知道有没有影响
1.已经替换 出错手机以外的测试手机 可以正常收到推送
2. as版本 2.3.3
3.出错手机安卓版本5.1
4.没有
5.


#9

你好,你这个问题是导入so有问题。麻烦导出一份完整的集成日志,我们好分析。


(pruida) #10

不是手动导入的 直接通过gradle 导入的啊 jniLibs目录都没有


(pruida) #12


#13

你导出一份完整的日志供我们分析一下。还有目前最新版本是 jcore 1.1.6 ,jpush 3.0.8


(pruida) #14

好的 稍等一下


(pruida) #15
09-01 15:45:37.652 1355-1370/prdtrade.cleancar W/art: Suspending all threads took: 6.460ms
09-01 15:46:29.619 1355-1355/prdtrade.cleancar 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__)
09-01 15:46:29.619 1355-1355/prdtrade.cleancar E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
09-01 15:46:29.620 1355-1355/prdtrade.cleancar 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__)
09-01 15:46:29.620 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
09-01 15:46:29.620 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
09-01 15:46:29.621 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
09-01 15:46:29.621 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
09-01 15:46:29.621 1355-1355/prdtrade.cleancar W/System.err:     at cn.jpush.android.service.AlarmReceiver.onReceive(Unknown Source)
09-01 15:46:29.621 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread.handleReceiver(ActivityThread.java:2976)
09-01 15:46:29.622 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread.access$1700(ActivityThread.java:185)
09-01 15:46:29.622 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1649)
09-01 15:46:29.622 1355-1355/prdtrade.cleancar W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:111)
09-01 15:46:29.622 1355-1355/prdtrade.cleancar W/System.err:     at android.os.Looper.loop(Looper.java:194)
09-01 15:46:29.622 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5847)
09-01 15:46:29.622 1355-1355/prdtrade.cleancar W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
09-01 15:46:29.623 1355-1355/prdtrade.cleancar W/System.err:     at java.lang.reflect.Method.invoke(Method.java:372)
09-01 15:46:29.623 1355-1355/prdtrade.cleancar W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1010)
09-01 15:46:29.623 1355-1355/prdtrade.cleancar W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
09-01 15:46:29.623 1355-1355/prdtrade.cleancar E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore
09-01 15:46:29.624 1355-1355/prdtrade.cleancar W/JIGUANG-JCore: [JCoreInterface] JCore init failed
09-01 15:51:19.651 1355-1355/prdtrade.cleancar 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__)
09-01 15:51:19.651 1355-1355/prdtrade.cleancar E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
09-01 15:51:19.651 1355-1355/prdtrade.cleancar 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__)
09-01 15:51:19.652 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
09-01 15:51:19.653 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
09-01 15:51:19.653 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
09-01 15:51:19.653 1355-1355/prdtrade.cleancar W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
09-01 15:51:19.653 1355-1355/prdtrade.cleancar W/System.err:     at cn.jpush.android.service.AlarmReceiver.onReceive(Unknown Source)
09-01 15:51:19.653 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread.handleReceiver(ActivityThread.java:2976)
09-01 15:51:19.654 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread.access$1700(ActivityThread.java:185)
09-01 15:51:19.654 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1649)
09-01 15:51:19.655 1355-1355/prdtrade.cleancar W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:111)
09-01 15:51:19.655 1355-1355/prdtrade.cleancar W/System.err:     at android.os.Looper.loop(Looper.java:194)
09-01 15:51:19.656 1355-1355/prdtrade.cleancar W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5847)
09-01 15:51:19.656 1355-1355/prdtrade.cleancar W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
09-01 15:51:19.657 1355-1355/prdtrade.cleancar W/System.err:     at java.lang.reflect.Method.invoke(Method.java:372)
09-01 15:51:19.657 1355-1355/prdtrade.cleancar W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1010)
09-01 15:51:19.657 1355-1355/prdtrade.cleancar W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
09-01 15:51:19.658 1355-1355/prdtrade.cleancar E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore
09-01 15:51:19.658 1355-1355/prdtrade.cleancar W/JIGUANG-JCore: [JCoreInterface] JCore init failed

(pruida) #16

在么。。。。。。


#17

我们这边测试了一下魅蓝Note2没有问题的,是不是你的项目里面还有引入其他so


(pruida) #18

abiFilters ‘armeabi’, ‘armeabi-v7a’, ‘armeabi-v8a’, ‘x86’, ‘x86_64’, ‘mips’, ‘mips64’, ‘armeabi’
// 还可以添加 ‘x86’, ‘x86_64’, ‘mips’, ‘mips64’

和这个有关系么
别的手机是没有问题


#19

别的so有添加对应平台的吗


(pruida) #20

平台的话 现在就极光


(pruida) #21

话说连模拟器都收到推送了