开发者

Android webview is not loading a URL

开发者 https://www.devze.com 2023-03-13 20:19 出处:网络
I am loading web page content with URL linkusing web view, But i am facing an error: ERROR/Web Console(889): TypeError: Result of expres开发者_Go百科sion \'this.mb\' [null] is not an object.

I am loading web page content with URL linkusing web view, But i am facing an error:

ERROR/Web Console(889): TypeError: Result of expres开发者_Go百科sion 'this.mb' [null] is not an object.

How can I resolve this problem. Please help me.


Because you want to show map you need add:

webview.getSettings().setBuiltInZoomControls(true);
webview.getSettings().setSupportZoom(true);

EDIT: webview.getSettings().setDomStorageEnabled(true); helped.

0

精彩评论

暂无评论...
验证码 换一张
取 消