Android Webview:无法调用determinedVisibility() - 从未见过pid 的连接 [英] Android Webview: Cannot call determinedVisibility() - never saw a connection for the pid

查看:21
本文介绍了Android Webview:无法调用determinedVisibility() - 从未见过pid 的连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Android Webview,当我点击链接下载文件(pdf 图像等)时,我收到一条错误消息.

I have a Android Webview and when I click on a link to download a file (image of pdf etc) I got a error message.

Error message:
Cannot call determinedVisibility() - never saw a connection for the pid

知道我做错了什么吗?谁能帮帮忙!?

Any idea what I do wrong? Who can help please!?

推荐答案

一点点配置:

    webview.getSettings().setJavaScriptEnabled(true);
    webview.getSettings().setDomStorageEnabled(true);

这篇关于Android Webview:无法调用determinedVisibility() - 从未见过pid 的连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆