最近我的错误报告工具开始显示此崩溃(由于webviews实现,因设备制造商而略有不同)
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:4317)
at android.view.ViewRootImpl.invalidateChild(ViewRootImpl.java:892)
at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:941)
at android.view.ViewGroup.invalidateChild(ViewGroup.java:4019)
at android.view.View.invalidate(View.java:8621)
at android.webkit.WebView.invalidate(WebView.java:1743)
at android.webkit.WebView.viewInvalidate(WebView.java:4065)
at android.webkit.WebView.invalidateContentRect(WebView.java:4084)
at android.webkit.WebView.setNewPicture(WebView.java:14353)
at android.webkit.WebView$PrivateHandler.handleMessage(WebView.java:13747)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
我认为这个错误来自Mopub的实现(或者来自mopub调解的其他广告sdk),因为我的应用中没有网页浏览。
如何隔离和确定我引入的错误或SDK中的错误?