Android Webview: Cannot call determinedVisibility() - never saw a connection for the pid

Solution 1:

Just a bit of configuration:

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

Solution 2:

I got the same error and Burhans solution was not helping me. I think things went wrong when you´re trying to load different urls too fast.

Edit: Found a better solution credits go to user2652394 WebView must be loaded twice to load correctly

You have to do something like this:

        webView.postDelayed(new Runnable() {

            @Override
            public void run() {
                webView.loadUrl(landingpage);
            }
        }, 500);