开发者社区> 问答> 正文

【移动推送】推送SDK在初始化时报错咋办?

已解决

推送SDK在初始化时报”java.lang.UnsatisfiedLinkError”或”TNET-JNI-LOAD-SO-FAIL“错误。

详细报错信息如下:

 java.lang.UnsatisfiedLinkError: No implementation found for int org.android.spdy.SpdyAgent.configLogFileN(java.lang.String, int, int) (tried Java_org_android_spdy_SpdyAgent_configLogFileN and Java_org_android_spdy_SpdyAgent_configLogFileN__Ljava_lang_String_2II)
    at org.android.spdy.SpdyAgent.configLogFileN(Native Method)
    at org.android.spdy.SpdyAgent.configLogFile(Unknown Source)
    at com.taobao.accs.net.e.<init>(Unknown Source)
    at com.taobao.accs.net.BaseConnection.a(Unknown Source)
    at com.taobao.accs.internal.ACCSManagerImpl.sendControlMessage(Unknown Source)
    at com.taobao.accs.internal.ACCSManagerImpl.bindApp(Unknown Source)
    at com.taobao.accs.a.a(Unknown Source)
    at com.taobao.agoo.AliyunRegister.register(Unknown Source)
    at com.alibaba.sdk.android.push.vip.AppRegister$a.b(Unknown Source)
    at com.alibaba.sdk.android.push.vip.AppRegister$a.a(Unknown Source)
    at com.alibaba.sdk.android.push.vip.b.handleMessage(Unknown Source)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.os.HandlerThread.run(HandlerThread.java:61)

04-20 11:34:02.035 15264-15383/cloud.aliyun.test E/awcn.TnetSpdySession: |[seq:AWCN2_2] connect exception org.android.spdy.SpdyErrorException: TNET_JNI_ERR_LOAD_SO_FAIL
    at org.android.spdy.SpdyAgent.checkLoadSo(Unknown Source)
    at org.android.spdy.SpdyAgent.agentIsOpen(Unknown Source)
    at org.android.spdy.SpdyAgent.createSession(Unknown Source)
    at org.android.spdy.SpdyAgent.createSession(Unknown Source)
    at anet.channel.d.l.b(Unknown Source)
    at anet.channel.SessionRequest.a(Unknown Source)
    at anet.channel.SessionRequest.a(Unknown Source)
    at anet.channel.SessionRequest$a.onFailed(Unknown Source)
    at anet.channel.k.onEvent(Unknown Source)
    at anet.channel.i.run(Unknown Source)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    at java.lang.Thread.run(Thread.java:818)

展开
收起
EMAS支持组 2022-09-15 13:04:13 490 0
1 条回答
写回答
取消 提交回答
来源圈子
更多
收录在圈子:
基于阿里巴巴以及合作伙伴的最佳实践,围绕大前端、云原生领域的相关技术热点(小程序、Serverless、应用中间件、低代码、DevOps)展开行业探讨,与开发者一起探寻云原生时代应用研发的新范式。
问答排行榜
最热
最新

相关电子书

更多
从 SDK 到编解码:视频直播架构解析 立即下载
跨平台的云服务SDK需要什么 立即下载
一个跨平台的云服务SDK需要什么 立即下载

相关实验场景

更多