【问题标题】:The method onReceivedError(WebView, int, String, String) is undefined for the type WebChromeClientWebChromeClient 类型的 onReceivedError(WebView, int, String, String) 方法未定义
【发布时间】:2014-04-19 17:26:35
【问题描述】:

onReceivedError(WebView, int, String, String) 方法未定义类型 WebChromeClient

【问题讨论】:

    标签: android webview android-webview webviewclient


    【解决方案1】:

    是的。那是因为它是在 WebViewClient 上定义的,而不是在 WebChromeClient 上定义的。 http://developer.android.com/reference/android/webkit/WebViewClient.html#onReceivedError(android.webkit.WebView, int, java.lang.String, java.lang.String)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-01-10
      • 1970-01-01
      • 1970-01-01
      • 2015-07-30
      • 1970-01-01
      • 2014-05-25
      • 2012-09-19
      相关资源
      最近更新 更多