0

我正在尝试Vine使用 a 嵌入到 android 应用程序中,webview并调用 vine ombed api 以获取要在webview. 我目前收到以下错误

https://vine.co/v/MwrDbBbbwIK/embed/simple net::ERR_INSECURE_RESPONSE

我知道这是某种 ssl 证书错误。我可以让它在我的 android 中正确显示,Safari但不能Chrome在我的 android中显示webview。有没有办法解决这个错误?

4

1 回答 1

1

尝试这个

 mWebView.setWebViewClient(new WebViewClient()       
{
    @Override
    public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) {
        handler.proceed(); // Ignore SSL certificate errors
    }
});
于 2016-03-01T05:36:14.250 回答