项目导入其他依赖,极光推送报错导致项目崩溃

18310610317
6年前 2k 0

项目正常运行的状态下新加了一个依赖:'cn.bingoogolapple:bga-qrcode-zbar:1.2.1',运行时会报错误,错误日志如下。如果去掉依赖,就一切正常。我是用的最新版本的极光推送,三款手机都会出现这种问题。在没有集成极光推送的项目中添加此依赖,一切正常。请您们能够提供解决方案。

03-01 09:09:19.070 18615-18615/com.haoyuan.xiaochen.zbikestation D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.1.9, buildId:172
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation 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__)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation 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__)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at cn.jiguang.d.a.a(Unknown Source)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at cn.jiguang.d.a.a(Unknown Source)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at cn.jiguang.api.JCoreInterface.getRegistrationID(Unknown Source)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at cn.jpush.android.api.JPushInterface.getRegistrationID(SourceFile:226)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at com.haoyuan.xiaochen.zbikestation.ui.activity.MainActivity.initDeviceMessage(MainActivity.java:761)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at com.haoyuan.xiaochen.zbikestation.ui.activity.MainActivity.onCreate(MainActivity.java:346)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.app.Activity.performCreate(Activity.java:6288)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.app.ActivityThread.access$900(ActivityThread.java:177)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.os.Looper.loop(Looper.java:145)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5942)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at java.lang.reflect.Method.invoke(Method.java:372)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
03-01 09:09:19.090 18615-18615/com.haoyuan.xiaochen.zbikestation E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore
03-01 09:09:19.100 18615-18615/com.haoyuan.xiaochen.zbikestation W/JIGUANG-JCore: [JCoreInterface] JCore init failed
03-01 09:09:19.100 18615-18615/com.haoyuan.xiaochen.zbikestation V/8888: 极光推送ID03-01 09:09:19.100 18615-18615/com.haoyuan.xiaochen.zbikestation V/读取缓存信息: 18310610317===123456+++844548100627665040
03-01 09:09:19.130 18615-18615/com.haoyuan.xiaochen.zbikestation D/Activity: performCreate Call secproduct feature valuefalse
03-01 09:09:19.130 18615-18615/com.haoyuan.xiaochen.zbikestation D/Activity: performCreate Call debug elastic valuetrue
03-01 09:09:19.130 18615-18615/com.haoyuan.xiaochen.zbikestation V/9999: onstart
03-01 09:09:19.140 18615-18732/com.haoyuan.xiaochen.zbikestation A/libc: Fatal signal 7 (SIGBUS), code 2, fault addr 0xb456c230 in tid 18732 (Thread-3929)
03-01 09:09:19.140 18615-18615/com.haoyuan.xiaochen.zbikestation D/SensorManager: registerListener :: 1937338482, Orientation Sensor, 66667, 0,  
03-01 09:09:19.990 18615-18732/com.haoyuan.xiaochen.zbikestation A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xe8cc in tid 18732 (Thread-3929)

1个回答

热门排序
  • 1、请说明集成的 SDK 的具体版本号,而非最新版本这样模糊的说明 2、三款手机有问题的意思是 还有其他的手机测试没有问题吗? 3、提供这三款手机的机型和系统 4、 新加了一个依赖:'cn.bingoogolapple:bga-qrcod 展示全部