集成SDK时报错


(糖糖熊) #1
java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-support-annotations-24.2.1_3ff7923b24f5b58740ede3a33953f8d4741f646a-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-slice_0-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-okio-1.8.0_7eaed7bac65179efb786790cae85de46ae15d8d8-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-okhttp-3.3.1_b20f4ee8b8442d47248604e404bb45efeb78db45-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-mail_a9c03d9f8d23085abfaa2b35015a76077ccd9d94-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-jpush-android_v3.0.1_827f4534d190182fc98386699abb77e86453122f-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-jcore-android_v1.1.0_23a790116ea900420e1e4628054baadfc87b0ed6-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-internal_impl-24.2.1_f48aca3a991ffd9de8aa3b0a57dfe2b925f0b862-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-internal_impl-24.2.1_a980395e80c30cf066878015131c395804efb925-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-internal_impl-24.2.1_9f7b566e7699be58583d081caeeeb175a47a9bed-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-internal_impl-24.2.1_0edee7692d6d46db8ba18f778dc0c66bdacf9a82-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-internal_impl-24.2.1_0e0ae9ba2c20555164dc5d0d6f86b22ca4d2bdfa-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-intermediates-exploded-aar-SMSSDKGUI-2.1.3_78470df7f22bd375969eab70349984bf762a19cd-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-intermediates-exploded-aar-SMSSDK-2.1.3_f40b5ae6b7919ed6c1340867fe842937ac0bd84b-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-gson-2.6.2_3bf1f7cd7d206c61556b1b55ef21dac272ece3c0-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-glide-3.7.0_74e0b86da93331b56b7f5f35391b87b3255530ca-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-com.zhy-okhttputils-2.6.2_7699c110968cfd7ee4c3d701ba1b7d203bc83122-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-com.yanzhenjie-album-1.0.0_3c76354fb02ef98abea3e0aa38ba9d52cae43287-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-com.android.support-support-vector-drawable-24.2.1_5e55fc7e1c2d69d99c8ba1a1d9b205195495762e-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-com.android.support-support-v4-24.2.1_dea33c6ffffb9d04230e94e6b5923438cc75a8f8-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-com.android.support-support-media-compat-24.2.1_926fb8570512e3b59e99b08e5f3d89d22981634b-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-com.android.support-support-fragment-24.2.1_4d481895805de6f407658fdc18bead78e4d76f8a-classes.dex", dex file "/data/data/anhui.momodai/files/instant-run/dex/slice-com.android.
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at java.lang.Runtime.loadLibrary(Runtime.java:367)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at java.lang.System.loadLibrary(System.java:1076)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.service.Protocol.<clinit>(Unknown Source)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at cn.jpush.android.d.a(Unknown Source)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at cn.jpush.android.api.JPushInterface.init(Unknown Source)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at anhui.momodai.MoMoApplication.onCreate(MoMoApplication.java:32)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:370)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4726)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread.access$1600(ActivityThread.java:153)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at android.os.Looper.loop(Looper.java:148)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5441)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
01-19 14:03:27.064 22769-22769/anhui.momodai W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
01-19 14:03:27.064 22769-22769/anhui.momodai 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__)
01-19 14:03:27.065 22769-22769/anhui.momodai E/JIGUANG-JCore: [JCoreGlobal] Get sdk version fail![获取sdk版本失败!]
01-19 14:03:27.065 22769-22769/anhui.momodai 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__)
01-19 14:03:27.065 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.service.Protocol.GetSdkVersion(Native Method)
01-19 14:03:27.065 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
01-19 14:03:27.065 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.c.a.a(Unknown Source)
01-19 14:03:27.065 22769-22769/anhui.momodai W/System.err:     at cn.jiguang.api.JCoreInterface.init(Unknown Source)
01-19 14:03:27.065 22769-22769/anhui.momodai W/System.err:     at cn.jpush.android.d.a(Unknown Source)
01-19 14:03:27.065 22769-22769/anhui.momodai W/System.err:     at cn.jpush.android.api.JPushInterface.init(Unknown Source)
01-19 14:03:27.065 22769-22769/anhui.momodai W/System.err:     at anhui.momodai.MoMoApplication.onCreate(MoMoApplication.java:32)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at com.android.tools.fd.runtime.BootstrapApplication.onCreate(BootstrapApplication.java:370)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4726)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread.access$1600(ActivityThread.java:153)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at android.os.Looper.loop(Looper.java:148)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:5441)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
01-19 14:03:27.066 22769-22769/anhui.momodai W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)

#2

参考:


(糖糖熊) #3

好的,谢谢,已经解决这个问题了


#4

OK~~~~~:blush:


(糖糖熊) #5

现在我遇到的问题是我Android本地集成完成了,JPUSH也在程序开始的时候初始化了,没有报出任何异常,但是似乎没有连接上极光推送,后台没有显示有设备在线


#6

已在新帖回复你。。。


(和星星) #7

这是什么问题