Java_com_android_org_chromium_base_SystemMessageHandler_nativeDoRunLoopOnce 2020-01-15 Android, 笔记 Java_com_android_org_chromium_base_SystemMessageHandler_nativeDoRunLoopOnceAndroid 中 webView 调用 JS 出错的解决办法 问题代码: 1234public void save(String data){ webView.loadUrl("javascript: alert(" + data +")");} 解决办法: 12345678public void save(String data){ webView.post(new Runnable() { @Override public void run() { webView.loadUrl("javascript: alert(" + data +")"); } });}