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.
来源:即时通讯网 - 即时通讯开发者社区!