Android铬错误

Android铬错误,android,android-webview,Android,Android Webview,我有一个android应用程序,它有webview,可以通过Instagram进行社交登录。 当我尝试加载以下url时: "" 出现了一些错误。 当我尝试通过普通浏览器加载相同的url时,它工作正常 I/chromium: [INFO:CONSOLE(0)] "The Content-Security-Policy directive 'worker-src' is implemented behind a flag which is currently disabled. ", source

我有一个android应用程序,它有webview,可以通过Instagram进行社交登录。 当我尝试加载以下url时: "" 出现了一些错误。 当我尝试通过普通浏览器加载相同的url时,它工作正常

I/chromium: [INFO:CONSOLE(0)] "The Content-Security-Policy directive 'worker-src' is implemented behind a flag which is currently disabled.
", source: https://www.instagram.com/accounts/login/?force_authentication=1&only_user_pwd_authentication=1&platform_app_id=&next=/oauth/authorize/%3Fclient_id%3Dba231a873ea145af9f97866de4718fe6%26redirect_uri%3Dhttps%3A//instagram.com/%26response_type%3Dtoken%26display%3Dtouch%26scope%3Dpublic_content (0)

I/chromium: [INFO:CONSOLE(15)] "The key "viewport-fit" is not recognized and ignored.", source: https://www.instagram.com/accounts/login/?force_authentication=1&only_user_pwd_authentication=1&platform_app_id=&next=/oauth/authorize/%3Fclient_id%3Dba231a873ea145af9f97866de4718fe6%26redirect_uri%3Dhttps%3A//instagram.com/%26response_type%3Dtoken%26display%3Dtouch%26scope%3Dpublic_content (15)

有什么办法解决这个问题吗???

看来你必须添加这个电话

WebSettings settings = webView.getSettings();
settings.setDomStorageEnabled(true);
这是这个的复制品