I found that you have used onReceivedError(WebView view, WebResourceRequest request, WebResourceError error) in PadViewActivity, which is added in API level 23. However, it does not exist in API level < 22, meaning that the code logic you wrote to handle webview error will not take effect. (See this link)
To fix this issue, add deprecated onReceivedError (WebView view, int errorCode, String description, String failingUrl) to make it compatible for API level < 22.
Hi,
I found that you have used
onReceivedError(WebView view, WebResourceRequest request, WebResourceError error)
in PadViewActivity, which is added in API level 23. However, it does not exist in API level < 22, meaning that the code logic you wrote to handle webview error will not take effect. (See this link)To fix this issue, add deprecated
onReceivedError (WebView view, int errorCode, String description, String failingUrl)
to make it compatible for API level < 22.Thanks.