gpt4 book ai didi

android - Facebook 和 GoogleAnalytics 导致致命信号 11 (SIGSEGV)

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:38:42 27 4
gpt4 key购买 nike

在使用 Facebook 的 Android SDK 时,每次连接到 Facebook 时都会出现此异常。EasyTracker 的 GAThread 也产生了这个确切的问题。

6960-6985/? A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 6985 (Timer-0)
608-669/? E/InputDispatcher﹕ channel '42867090 com.packagename/com.packagename.activities.feed.FeedActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

我该如何解决?

最佳答案

嗨,我有一个 similar issue .我的问题是由 OkHTTP 的 SSL 管理引起的.看看this bug issue在 OkHTTP 的 github 页面上

我的解决方法(他们说它将在 v2.0 中修复)是这样的:

URL.setURLStreamHandlerFactory(new OkHttpClient());

更新:Square 发布了 OkHTTP v1.5.0,他们是 hould have fixed SSL 问题。

Applications that want to use the global SSL context with OkHttp should configure their OkHttpClient instances with the following:

okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());

A simpler solution is to avoid the shared default SSL socket factory. Instead, if you need to customize SSL, do so for your specific OkHttpClient instance only.

关于android - Facebook 和 GoogleAnalytics 导致致命信号 11 (SIGSEGV),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20654754/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com