报错求助,无法集成


(Hangogo) #1

集成式出现这种情况,sdk总下载的so文件只有libjcore110.so,


#2

将报错的日志完整的提供一下,贴文本最好。

下载的最新的SDK吗?
SDK里面有很多个文件夹,包含同一个名称的libjcore110.so,但是他们是不一样的,需要对应复制文件夹下的so去你的工程里面


(Hangogo) #3
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang 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__)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang 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__)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at cn.jiguang.api.JCoreInterface.onResume(Unknown Source)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at cn.jpush.android.api.JPushInterface.onResume(Unknown Source)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at com.svse.yunzhuang.ui.activity.LoadingActivity.onResume(LoadingActivity.java:63)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1257)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.Activity.performResume(Activity.java:6135)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2998)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3040)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2408)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.ActivityThread.access$800(ActivityThread.java:154)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.os.Looper.loop(Looper.java:135)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5298)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at java.lang.reflect.Method.invoke(Method.java:372)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:913)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:708)
02-10 17:12:58.496 24860-24860/com.yinque.yunzhuang E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore

#4

(Hangogo) #5

下载的sdk文件中,so文件夹就是这样子的


#6

请看链接中的几个排查步骤


(Hangogo) #7

排查成功,谢谢了:slight_smile: