The method onReceivedError(WebView, int, String, String) is undefined for the type WebChromeClient
Yes. That's because it's defined on WebViewClient
, not WebChromeClient
. http://developer.android.com/reference/android/webkit/WebViewClient.html#onReceivedError(android.webkit.WebView, int, java.lang.String, java.lang.String)