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)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top