android socket 闪退,[已回复] 求助MobileIMSDK的android版切换语言时APP闪退了?

android切换语言时APP闪退了,下面是SDK里面报的错:求大神看看是怎么回事,

10-26 14:41:32.270 12746-12799/? E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1

Process: com.auratech.aurafamchat, PID: 12746

java.lang.RuntimeException: An error occurred while executing doInBackground()

at android.os.AsyncTask$3.done(AsyncTask.java:353)

at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)

at java.util.concurrent.FutureTask.setException(FutureTask.java:252)

at java.util.concurrent.FutureTask.run(FutureTask.java:271)

at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)

at java.lang.Thread.run(Thread.java:764)

Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

at android.os.Handler.(Handler.java:204)

at android.os.Handler.(Handler.java:118)

at net.openmob.mobileimsdk.android.core.QoS4SendDaemon.init(QoS4SendDaemon.java:135)

at net.openmob.mobileimsdk.android.core.QoS4SendDaemon.(QoS4SendDaemon.java:130)

at net.openmob.mobileimsdk.android.core.QoS4SendDaemon.getInstance(QoS4SendDaemon.java:122)

at net.openmob.mobileimsdk.android.core.LocalUDPDataSender.sendCommonData(LocalUDPDataSender.java:219)

at net.openmob.mobileimsdk.android.core.LocalUDPDataSender$SendCommonDataAsync.doInBackground(LocalUDPDataSender.java:370)

at net.openmob.mobileimsdk.android.core.LocalUDPDataSender$SendCommonDataAsync.doInBackground(LocalUDPDataSender.java:1)

at android.os.AsyncTask$2.call(AsyncTask.java:333)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)

at java.lang.Thread.run(Thread.java:764)

10-26 14:41:32.423 3225-3225/? E/PBSessionCacheImpl: sessionId[14185240454138891] not persisted.

d0c2c85c7c6b959a286ecc86a57b5272.png

来源:即时通讯网 - 即时通讯开发者社区!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值