android cordova java.lang.Throwable: EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set up问题的解决和想法

  关于这个异常java.lang.Throwable: EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set up.

在项目中出现了好多次,但是,也不影响应用。可是不解决看着也闹心啊。

分析了下有可能是@Override onPageStarted方法引起的,也就是this.appView.loadUrl(url);后,还没有执行完,就去执行onPageStarted,导致的这个问题。

当然,@Override其他的方法也有可能引起这个问题。

原文地址:https://www.cnblogs.com/bigcelestial/p/4635612.html