A WebView method was called on thread 'JavaBridge'. All WebView methods must be called

解决办法解决方法:

     webView.post(new Runnable() {
            @Override
            public void run() {
                webView.loadUrl("xxx");
            }
    });

 

参考https://blog.csdn.net/onceing/article/details/79553029

posted @ 2020-05-11 13:26  only_books  阅读(792)  评论(0编辑  收藏  举报