这边按照官方的文档集成JPush 但是一直报错,能帮忙解决一下吗?

android
error
标签: #<Tag:0x00007fb837edd950> #<Tag:0x00007fb837edd7e8>

(Eric Yang) #1
12-21 09:34:21.321 21054-21054/? I/art: Late-enabling -Xcheck:jni
12-21 09:34:21.418 21054-21054/? I/InstantRun: Instant Run Runtime started. Android package is com.example.paranoid.bluetoothdemo, real application class is com.example.paranoid.bluetoothdemo.Applications.
12-21 09:34:21.734 21054-21054/com.example.paranoid.bluetoothdemo D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.0, buildId:316
12-21 09:34:21.742 21054-21054/com.example.paranoid.bluetoothdemo D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
12-21 09:34:21.762 21054-21054/com.example.paranoid.bluetoothdemo D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
12-21 09:34:21.805 21054-21054/com.example.paranoid.bluetoothdemo D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.0.0, buildId:110
12-21 09:34:21.811 21054-21054/com.example.paranoid.bluetoothdemo W/System.err: java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-zxingcore-2.3.0_1ab04aaf5a8832b612ed864f5eb38d6a42d23d8a-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-support-annotations-24.2.1_a45405e82f9eb237681c9cf66b4eb54d7b88c9f6-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-jpush-android_v3.0.0_b64b90fc3c411ec0440582adc4b84c8d97b7f4e6-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-jpush-android_v3.0.0_8b95bdb0afb404123ec4e1c96175edaab7c0f0bb-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-jcore-android_v1.0.0_df1e54d3e28c9e0680dead406165d1f3957add5a-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-jcore-android_v1.0.0_b829f4e753b8aa6d9d8b3a0703119595016e9b16-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_f9af80b43001fec70b7a147f2a2d6c5facdc7baa-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_3b6406be8a1e0c6d10333dde02955c273332b161-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_2e947bf48fb6eca21baf1cbf173bfd33dd6543a8-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_11344ee812a99e6919379ae0ee435aee8f9df81a-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_0555fb688d39bddf4a599d4102b8846581c5730f-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-instant-run_a9444f8c1c8471774415969efd4468f83bed17bb-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-instant-run-bootstrap_353e79b9f19eea7280f25d88e9f003a3f08d5b33-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-vector-drawable-24.2.1_3bf0af090ae378270060a0b231eb45bdf2a15569-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-v4-24.2.1_06b4984661609e00fe29682e154a2b950a094123-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-media-compat-24.2.1_b14dfc75f9fe7afdbf9e825fcd442c78773d315f-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-fragment-24.2.1_70c9ca6472abda3efb36cf5918de41c66063613c-classes.dex", dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/de
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at java.lang.Runtime.loadLibrary(Runtime.java:367)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at java.lang.System.loadLibrary(System.java:1076)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.service.Protocol.<clinit>(Unknown Source)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jpush.android.d.a(Unknown Source)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jpush.android.api.JPushInterface.init(Unknown Source)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.example.paranoid.bluetoothdemo.Applications.onCreate(Applications.java:18)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:370)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4726)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread.access$1600(ActivityThread.java:153)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.os.Looper.loop(Looper.java:148)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5438)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
12-21 09:34:21.812 21054-21054/com.example.paranoid.bluetoothdemo 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__)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo 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__)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jpush.android.d.a(Unknown Source)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at cn.jpush.android.api.JPushInterface.init(Unknown Source)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.example.paranoid.bluetoothdemo.Applications.onCreate(Applications.java:18)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:370)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4726)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread.access$1600(ActivityThread.java:153)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.os.Looper.loop(Looper.java:148)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5438)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
12-21 09:34:21.813 21054-21054/com.example.paranoid.bluetoothdemo W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
12-21 09:34:21.814 21054-21054/com.example.paranoid.bluetoothdemo E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore
12-21 09:34:21.814 21054-21054/com.example.paranoid.bluetoothdemo W/JIGUANG-JCore: [JCoreInterface] JCore init failed
12-21 09:34:21.886 21054-21054/com.example.paranoid.bluetoothdemo I/BluetoothPrinter: onCreate: checkSelfPermission

#2

排查步骤:


(Eric Yang) #3

我的项目里面有一个蓝牙的打印的 so文件 这个和极光的so文件有不有冲突呢!


#4

你上面那个问题解决了吧?
有冲突的话,,直接贴日志出来


(Eric Yang) #5

还是一样的没有解决,就是so文件读取不到,好像有冲突。

12-21 11:07:52.300 27458-27458/com.example.paranoid.bluetoothdemo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.paranoid.bluetoothdemo, PID: 27458
java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-zxingcore-2.3.0_1ab04aaf5a8832b612ed864f5eb38d6a42d23d8a-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-support-annotations-24.2.1_a45405e82f9eb237681c9cf66b4eb54d7b88c9f6-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_9-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_8-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_7-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_6-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_5-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_4-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_3-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_2-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_1-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-slice_0-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-jpush-android_v3.0.0_b64b90fc3c411ec0440582adc4b84c8d97b7f4e6-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-jcore-android_v1.0.0_df1e54d3e28c9e0680dead406165d1f3957add5a-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_f9af80b43001fec70b7a147f2a2d6c5facdc7baa-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_3b6406be8a1e0c6d10333dde02955c273332b161-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_2e947bf48fb6eca21baf1cbf173bfd33dd6543a8-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_11344ee812a99e6919379ae0ee435aee8f9df81a-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-internal_impl-24.2.1_0555fb688d39bddf4a599d4102b8846581c5730f-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-vector-drawable-24.2.1_3bf0af090ae378270060a0b231eb45bdf2a15569-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-v4-24.2.1_06b4984661609e00fe29682e154a2b950a094123-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-media-compat-24.2.1_b14dfc75f9fe7afdbf9e825fcd442c78773d315f-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-fragment-24.2.1_70c9ca6472abda3efb36cf5918de41c66063613c-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-core-utils-24.2.1_9a208e3f6199b0c0a060c348db4f99e13724d54e-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-core-ui-24.2.1_4d472db71313870616c862592f3ccecee72f0e4f-classes.dex”, dex file “/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/slice-com.android.support-support-compat-24.2.1_be93a586162eb470b97a81a21c5179c398e50ec9-classes.dex”, dex file "/data/data/com.example.paranoid.bluetoothdemo/files/instant-run/dex/


#6

你获取sdk版本失败的那个错误,就根据我给你的链接里面说的进行排查呀,绝对可以解决的


(Eric Yang) #7

好的,我在看看是怎么回事。