Android 初始化失败

android
标签: #<Tag:0x00007fb834441b48>

(安木匠) #1

日志

07-20 14:04:17.598 5281-5281/? I/art: Late-enabling -Xcheck:jni
07-20 14:04:17.631 5281-5288/? E/art: Failed sending reply to debugger: Broken pipe
07-20 14:04:17.631 5281-5288/? I/art: Debugger is no longer active
07-20 14:04:17.631 5281-5288/? I/art: Starting a blocking GC Instrumentation
07-20 14:04:17.701 5281-5281/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.6, buildId:367
07-20 14:04:17.704 5281-5281/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
07-20 14:04:17.722 5281-5281/? D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
07-20 14:04:17.730 5281-5281/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
07-20 14:04:17.747 5281-5281/? D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.1.3, buildId:138
07-20 14:04:17.748 5281-5281/? W/System.err: java.lang.UnsatisfiedLinkError: dlopen failed: file offset for the library "/data/app/com.chinaums.erp.xusy.pad-2/lib/arm64/libjcore113.so" >= file size: 0 >= 0
07-20 14:04:17.748 5281-5281/? W/System.err:     at java.lang.Runtime.loadLibrary0(Runtime.java:977)
07-20 14:04:17.749 5281-5281/? W/System.err:     at java.lang.System.loadLibrary(System.java:1530)
07-20 14:04:17.749 5281-5281/? W/System.err:     at cn.jiguang.service.Protocol.<clinit>(Unknown Source)
07-20 14:04:17.749 5281-5281/? W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
07-20 14:04:17.749 5281-5281/? W/System.err:     at cn.jiguang.b.a.a(Unknown Source)
07-20 14:04:17.749 5281-5281/? W/System.err:     at cn.jiguang.b.a.a(Unknown Source)
07-20 14:04:17.749 5281-5281/? W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
07-20 14:04:17.749 5281-5281/? W/System.err:     at cn.jpush.android.a.a(SourceFile)
07-20 14:04:17.749 5281-5281/? W/System.err:     at cn.jpush.android.api.JPushInterface.init(SourceFile)
07-20 14:04:17.749 5281-5281/? W/System.err:     at com.chinaums.yunerp.app.ErpApp.initJpush(ErpApp.java:76)
07-20 14:04:17.749 5281-5281/? W/System.err:     at com.chinaums.yunerp.app.ErpApp.onCreate(ErpApp.java:70)
07-20 14:04:17.749 5281-5281/? W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)
07-20 14:04:17.749 5281-5281/? W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5377)
07-20 14:04:17.749 5281-5281/? W/System.err:     at android.app.ActivityThread.-wrap2(ActivityThread.java)
07-20 14:04:17.749 5281-5281/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1529)
07-20 14:04:17.749 5281-5281/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
07-20 14:04:17.749 5281-5281/? W/System.err:     at android.os.Looper.loop(Looper.java:154)
07-20 14:04:17.749 5281-5281/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6093)
07-20 14:04:17.749 5281-5281/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
07-20 14:04:17.749 5281-5281/? W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
07-20 14:04:17.749 5281-5281/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
07-20 14:04:17.750 5281-5281/? 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__)
07-20 14:04:17.750 5281-5281/? E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
07-20 14:04:17.750 5281-5281/? 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__)
07-20 14:04:17.750 5281-5281/? W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
07-20 14:04:17.750 5281-5281/? W/System.err:     at cn.jiguang.b.a.a(Unknown Source)
07-20 14:04:17.750 5281-5281/? W/System.err:     at cn.jiguang.b.a.a(Unknown Source)
07-20 14:04:17.750 5281-5281/? W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
07-20 14:04:17.750 5281-5281/? W/System.err:     at cn.jpush.android.a.a(SourceFile)
07-20 14:04:17.750 5281-5281/? W/System.err:     at cn.jpush.android.api.JPushInterface.init(SourceFile)
07-20 14:04:17.751 5281-5281/? W/System.err:     at com.chinaums.yunerp.app.ErpApp.initJpush(ErpApp.java:76)
07-20 14:04:17.751 5281-5281/? W/System.err:     at com.chinaums.yunerp.app.ErpApp.onCreate(ErpApp.java:70)
07-20 14:04:17.751 5281-5281/? W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)
07-20 14:04:17.751 5281-5281/? W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5377)
07-20 14:04:17.751 5281-5281/? W/System.err:     at android.app.ActivityThread.-wrap2(ActivityThread.java)
07-20 14:04:17.751 5281-5281/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1529)
07-20 14:04:17.751 5281-5281/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
07-20 14:04:17.751 5281-5281/? W/System.err:     at android.os.Looper.loop(Looper.java:154)
07-20 14:04:17.751 5281-5281/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6093)
07-20 14:04:17.751 5281-5281/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
07-20 14:04:17.751 5281-5281/? W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
07-20 14:04:17.751 5281-5281/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
07-20 14:04:17.751 5281-5281/? E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore
07-20 14:04:17.751 5281-5281/? W/JIGUANG-JCore: [JCoreInterface] JCore init failed
07-20 14:04:17.755 5281-5281/? D/MscSpeechLog: process name:com.chinaums.erp.xusy.pad
07-20 14:04:17.757 5281-5281/? D/MscSpeechLog: process name:com.chinaums.erp.xusy.padis own process
07-20 14:04:17.760 5281-5281/? D/MSC_LOG: JNI_OnLoad is called !
07-20 14:04:17.760 5281-5281/? D/MscSpeechLog: loadLibrary msc success
07-20 14:04:17.760 5281-5281/? D/MscSpeechLog: MSC ifly ver: true
07-20 14:04:17.761 5281-5281/? D/MscSpeechLog: SpeechUtility start login
07-20 14:04:17.762 5281-5281/? D/MscSpeechLog: MSC ifly ver: true
07-20 14:04:17.762 5281-5281/? D/MscSpeechLog: DC create enter.
07-20 14:04:17.762 5281-5281/? D/MscSpeechLog: DC resetAllValues enter.
07-20 14:04:17.763 5281-5281/? D/MscSpeechLog: DC resetAllValues leave.
07-20 14:04:17.763 5281-5281/? D/MscSpeechLog: DC create leave.
07-20 14:04:17.767 5281-5281/? D/MSC_LOG: QMSPGetVersion Begin
07-20 14:04:17.767 5281-5281/? D/MSC_LOG: QMSPGetVersion End
07-20 14:04:17.768 5281-5281/? D/MscSpeechLog: get msc full version name: 5.0.30.1153
07-20 14:04:17.844 5281-5281/? D/MSC_LOG: QMSPLogin Begin
07-20 14:04:17.895 5281-5281/? D/MSC_LOG: QMSPLogin End
07-20 14:04:17.896 5281-5281/? D/MscSpeechLog: [MSPLogin]ret:0
07-20 14:04:17.902 5281-5281/? E/PushFactory: getPushInstance not found push instance.
07-20 14:04:17.908 5281-5281/? D/MscSpeechLog: DC init enable=null
07-20 14:04:17.908 5281-5281/? D/MscSpeechLog: DC init enter.
07-20 14:04:17.908 5281-5281/? D/MscSpeechLog: DC getEnable enter.
07-20 14:04:17.908 5281-5281/? D/MscSpeechLog: DC getEnable static value=true
07-20 14:04:17.908 5281-5281/? D/MscSpeechLog: getMscParameter enter key=idc
07-20 14:04:17.908 5281-5281/? D/MscSpeechLog: getMscParameter MSC return -1
07-20 14:04:17.909 5281-5281/? D/MscSpeechLog: getMscParameter value=null
07-20 14:04:17.909 5281-5281/? D/MscSpeechLog: getMscParameter leave
07-20 14:04:17.909 5281-5281/? D/MscSpeechLog: DC getEnable msc val=null
07-20 14:04:17.909 5281-5281/? D/MscSpeechLog: DC getEnable value=false
07-20 14:04:17.909 5281-5281/? D/MscSpeechLog: DC getEnable leave.
07-20 14:04:17.909 5281-5281/? D/MscSpeechLog: DC init is not enable.
07-20 14:04:17.909 5281-5281/? D/MscSpeechLog: DC init leave.
07-20 14:04:17.910 5281-5281/? D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
07-20 14:04:17.913 5281-5281/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
07-20 14:04:17.923 5281-5281/? D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.1.3, buildId:138
07-20 14:04:17.924 5281-5281/? 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__)
07-20 14:04:17.924 5281-5281/? E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
07-20 14:04:17.924 5281-5281/? 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__)
07-20 14:04:17.924 5281-5281/? W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
07-20 14:04:17.924 5281-5281/? W/System.err:     at cn.jiguang.b.a.a(Unknown Source)
07-20 14:04:17.924 5281-5281/? W/System.err:     at cn.jiguang.b.a.a(Unknown Source)
07-20 14:04:17.924 5281-5281/? W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
07-20 14:04:17.924 5281-5281/? W/System.err:     at cn.jpush.android.service.AlarmReceiver.onReceive(Unknown Source)
07-20 14:04:17.924 5281-5281/? W/System.err:     at android.app.ActivityThread.handleReceiver(ActivityThread.java:3013)
07-20 14:04:17.924 5281-5281/? W/System.err:     at android.app.ActivityThread.-wrap18(ActivityThread.java)
07-20 14:04:17.924 5281-5281/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1545)
07-20 14:04:17.924 5281-5281/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
07-20 14:04:17.924 5281-5281/? W/System.err:     at android.os.Looper.loop(Looper.java:154)
07-20 14:04:17.924 5281-5281/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6093)
07-20 14:04:17.924 5281-5281/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
07-20 14:04:17.925 5281-5281/? W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
07-20 14:04:17.925 5281-5281/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
07-20 14:04:17.925 5281-5281/? E/JIGUANG-JCore: [JCoreGlobal] JCore .so file do not match JCore .jar file in the project, Failed to init JCore
07-20 14:04:17.925 5281-5281/? W/JIGUANG-JCore: [JCoreInterface] JCore init failed

#2

(安木匠) #3

android 7.0的设备有问题 android5.1的正常


#4

麻烦根据我的链接进行排查


(安木匠) #5


(安木匠) #6

配置都是正确的


#7

1、配置正确绝对不会报错
2、排查你错误信息中提到的地方

你这里包名和你截图的包名,还有so


(安木匠) #8

我已经解决了


#9

你可以说一下你的错误原因和解决方案