android - Couldn't load url with WebView : ERR_CACHE_MISS -
i trying load "https://facebook.com/"
webview says webpage couldn't loaded , problem err_cache_miss.
the code using widely-used one. don't know why there such problem.
webview.setverticalscrollbarenabled(true); webview.sethorizontalscrollbarenabled(false); webview.getsettings().setjavascriptenabled(true); webview.getsettings().setcachemode(websettings.load_no_cache); webview.loadurl("https://facebook.com");
android api: 22
internet permission has been granted in manifest.
edit: (related logs added : the initial release android 5.0 includes version of chromium webview based on chromium m37 release.
so, i've added chromium logs. other log related webview doesn't exist.)
v/webviewchromiumfactoryprovider﹕ binding chromium main looper looper (main, tid 1) {3c06d3b9} i/chromium﹕ [info:library_loader_hooks.cc(104)] chromium logging enabled: level = 0, default verbosity = 0 w/chromium﹕ [warning:resource_bundle.cc(304)] locale_file_path.empty() i/chromium﹕ [info:aw_browser_main_parts.cc(65)] load apk succesful, fd=38 off=46872 len=3037 i/chromium﹕ [info:aw_browser_main_parts.cc(78)] loading webviewchromium.pak from, fd:39 off:230172 len:1089587 w/chromium﹕ [warning:data_reduction_proxy_settings.cc(331)] spdy proxy off @ startup i/chromium﹕ [info:console(12)] "not allowed load local resource: file:///android_asset/webkit/android-weberror.png", source: data:text/html,chromewebdata (12)
I am looking for and I love to post a comment that "The content of your post is awesome" Great work! how to change your minecraft name
ReplyDelete