wView.addJavascriptInterface(object, name);
这句话在android4.2版本以上会报错
提示None of the methods in the added interface have been annotated with @android.webkit.JavascriptInterface; they will not be visible in API 17
解决办法:在object的方法上面加上 @JavascriptInterface
借鉴别人的,自己记录一下。