![](/img/trans.png)
[英]Build.SERIAL is deprecated as of API 26: Android 8.0 Oreo
[英]Crash during Twilio chat client shutdown on Android 8.0 (API 26, Oreo)
在Android 8.0上,调用client.shutdown()
时出现一致的崩溃,并显示以下错误消息:
A/libc: invalid pthread_t 0x7dd83384f0 passed to libc
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 28040 (RxCachedThreadS)
pthread实现在8.0之前的版本中返回空值,但在未找到线程时> = 8.0时致命崩溃,我相信这是相关的。
来自ChatClient.setLogLevel
可能有用的行:
W/TWC: TNRegNotificationCtxSession: 540533023984 | 10/04/16:57:35.623 | WARNING | 26 | TNRegNotificationCtxSession | Could not operate with notification context in twilsock. Error 9
E/TWC: TNWebsocket: 540501275888 | 10/04/16:57:35.624 | CRITICAL | 9 | TNWebsocket | Received error while waiting for message: Net Exception
如果需要,我可以提供完整的日志。 谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.